[jQuery] How to gain reference to hyperlink that is clicked
I understand that I can use the .click
method on a hyperlink element. But
how do I know which element was clicked? First I have to gain reference to
the hyperlink's ID.
So lets say I have a page of hyperlinks like this in view source:
...someurl somebutton
...someurl somebutton
...someurl somebutton
...someurl somebutton
when a user clicks addButton1, how do I know it's addButton1 that was
referenced so that I can now apply a .click
event on it?
--
View this message in context: http://old.nabble.com/How-to-gain-reference-to-hyperlink-that-is-clicked-tp27026713s27240p27026713.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.