how to grab the value of an ID with jquery code example Example: jquery get id value var myId = $(this).attr('id'); alert( myId );