I have the following html page:
<div id="a" onclick ="javascript:click();">a</div>
<div id="b" onclick ="javascript:click();">b</div>
<div id="c" onclick ="javascript:click();">c</div>
Now, The javascript function:
function click() {
// how do I know if it was 'a' , 'b' or 'c' to call me
}
Does anybody know how to find (in every browser) which div was the caller in the 'called' click function ?
Many Thanks Erik