$('selector').wrap("<div/>").parent().html();
선택자의 태그를 div로 감싼후 부모의 html을 가져온다.
'jquery' 카테고리의 다른 글
bind trigger triggerhandler (0) | 2014.08.09 |
---|
$('selector').wrap("<div/>").parent().html();
선택자의 태그를 div로 감싼후 부모의 html을 가져온다.
bind trigger triggerhandler (0) | 2014.08.09 |
---|