Re: Question involving document.createElement and this
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.javascript archive

Re: Question involving document.createElement and this

From: <bayfaulkscatering@gmail.com>
Date: Mon May 01 2006 - 04:52:03 CEST

Update:

doing:

function foo(e) {
  alert(e.parentNode.id);
}

correctly returns the id of the parent node of the a-link, which is the
span! Now I'm even more confused...
Received on Mon May 1 05:28:38 2006