How do I pass the id of an element that triggers an onclick
event to the event handling function.
I am doing something like this-
<link onclick="doWithThisElement(id_of_this_element)" />
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…