DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CSHARP
Getting the ID of the element that fired an event
$(document).ready(function() { $("a").click(function(event) { alert(event.target.id); }); });
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#Getting
#ID
#element
#fired
#event
ADD COMMENT
Topic
COMMENT
Name
1+4 =
Submit