jquery get element id
snippet in javascript

jquery get element id

user6054

$(this).attr('id')

jquery get id value

user3856

var myId = $(this).attr('id');
alert( myId );

get id by this jquery

user9121

alert($(this).attr('id'))