아약스로드가 완료되면이 jQuery 함수를 실행하려고하는데 아무도 왜 작동하지 않는지 말할 수 없나요?아약스 이후 jant fire
jQuery(document).ajaxComplete(function(event,request, settings) {
$('.testme').each(function() {
var myhtml = $(this).text().split(' ')[0];
var ele = $(this);
$('.pickme').each(function(){
myhtml == $(this).text().split(' ')[0] ? $(ele).css('display','block') : ""
})
})
});
등호 중 하나를 제거하면 도움이 될 것입니다. '=='는 비교 연산자이고, 할당 연산자로'= '를 쓰고 싶습니다. –
여전히 발동하지 않습니까? – user1625357