ajax 혹은 가상객체 질문입니다.
본문
$.ajax({
type: 'post',
url: "<?=$latest_skin_url?>/get.php",
data: frm.serialize(),
success: function(xhr)
{
xhr.length
console.log($(".search_body").length);
$(".latest_content",frm).html(xhr);
}
});
이 비동기화가 진행되면
li 객체들이 생성되는데요 그 객체들의 갯수는 어떻게 셀 수 있을까요?
xhr.length 를 하니까 글자수를 세는것 같아요.....
생성될 객체에 클래스를 주고 $(".search_body").length 해도 안되네요..
불가능한건가요??
!-->
답변을 작성하시기 전에 로그인 해주세요.