js
[jQuery] ajax success html์์ ์ํ๋ ์์ ์ฐพ๊ธฐ
natrue
2021. 9. 15. 17:40
728x90
$(result).find("์ฐพ์ผ๋ ค๋ ์์")
$.ajax({
type : "GET",
url : "url ์
๋ ฅ",
dataType : "html",
success : function(result){
$(".ํด๋์ค๋ #์์ด๋").html($(result).find(".ํด๋์ค๋ #์์ด๋")); //("์ฐพ์ผ๋ ค๋์์");
}
});