View Single Post
Old Dec 5th, 2005, 12:42 PM   #3
MegaArcon
Programmer
 
MegaArcon's Avatar
 
Join Date: Aug 2005
Posts: 66
Rep Power: 0 MegaArcon is an unknown quantity at this point
Thanks Agent, but unfortunatlly IE dosen't like that either. I did some googleing (per the insperation you gave me) and it turns out that "attachEvent" makes this completely useless. Since the event handling function is referenced and not copied, "this" dosen't apply to what you want it to.

I instead tryed to use:

newDirButton.onclick = addDir(this.parentNode.parentNode, document.getElementById(\"DFRName\").value)

When I use getAttribute("onClick"), it shows that the above has been assigned...but the function dosen't fire off when the button is clicked. I still seem to be missing something.....
MegaArcon is offline   Reply With Quote