get sender in href javascript code
<p>I have an anchor with a href tag of <code>javascript:someFunc()</code>. How can I get the tag that called the javascript code? in the <code>onclick</code> attribute i know you can pass <code>this</code>, but <code>this</code> references the <code>DOMWindow</code> when called from the href tag. I HAVE to use the href tag as the code i'm working with limits me to using it only. Anyone have an idea on what I can do?</p>
