본문 바로가기

jquery

jquery로 id값 가져오기

var tagId = $(this).attr('id');

alert(tagId);