[Javascript] Code optimization

Peter Brunone peter at brunone.com
Mon Aug 7 16:41:28 CDT 2006


		this.parentNode would work, or 
document.getElementById('otherstuff')
should do the same.

				From: Terry Riegel riegel at clearimageonline.com

class="DIR">otherstuff

Ok here is a restating my question hopefully simplified.

I would like to call someaction('otherstuff') relatively. I just 
don't know the syntax. Something like...

...someaction(this.PARENTDIV)...

Is this possible?

Terry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20060807/431ca785/attachment.htm>


More information about the Javascript mailing list