find id value in jquery code example
Example 1: jquery get id value
var myId = $(this).attr('id');
alert( myId );
Example 2: get element by id in Jquery
$("#YourElementId").val();
var myId = $(this).attr('id');
alert( myId );
$("#YourElementId").val();