Sorry I am new to JavaScript.
Says that a.html has two same anchor links (<a href="b.html">b</a>
). The anchor links are uneditable but we could add JavaScript to the a.html.
Except for dynamic adding onclick
event, any other ways could get to know which anchor link being clicked?