Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

get the id of a div in jquery

	var rid = $(this).attr('id');	//for dynamically created elements
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #id #div #jquery
ADD COMMENT
Topic
Name
1+3 =