DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
get the id of a div in jquery
var rid = $(this).attr('id'); //for dynamically created elements
PREVIOUS
NEXT
Tagged:
#id
#div
#jquery
ADD COMMENT
Topic
COMMENT
Name
1+9 =
Submit