Does the function called by an onclick event know the id of the dom element that was clicked?
For instance, given:
<a href="#" id="DUMMY" onclick="myProc()">Dummy</a>
does myProc know it was called by DUMMY, and if it does, how do I refer to DUMMY within the body of myProc?
Thanks,
JAS
For instance, given:
<a href="#" id="DUMMY" onclick="myProc()">Dummy</a>
does myProc know it was called by DUMMY, and if it does, how do I refer to DUMMY within the body of myProc?
Thanks,
JAS