[Javascript] Code optimization

Terry Riegel riegel at clearimageonline.com
Mon Aug 7 16:28:57 CDT 2006


<div class="nor" id="otherstuff">
  <A href="blah..." ><img src="diricon.gif" /></A>
  <a href="javascript:someaction('otherstuff')"  
class="DIR">otherstuff</a>
</div>

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



More information about the Javascript mailing list