Jquery Cookbook/1. jQuery 기초
1.15 HTML 컨텐츠 가져오기 및 설정하기
altvirus
2011. 11. 7. 13:03
html()
$('#post').html();
$('#post').html('<strong>hello</strong>');
내부적으로 innerHTML 속성을 사용하므로, XML은 사용할 수 없다.
$('#post').html();
$('#post').html('<strong>hello</strong>');
내부적으로 innerHTML 속성을 사용하므로, XML은 사용할 수 없다.