문제

It seems like adblock for Chrome is preventing jquery's $.load() command from being executed. I looked around the web a little and couldn't find anything about this. It doesn't seem to block other jquery, such as $.ajax. I threw a little message on the main page of my site to warn users, but I'd rather find a fix or workaround. Anyone heard of this problem before?

도움이 되었습니까?

해결책

Maybe what you're retreiving with .load() is injected in a div named publicity, advertising or something similar that get blocked by adblock.

다른 팁

jQuery .load() is just shorthand for an Ajax load, so if Ajax is worknig but not .load(), it's probably something you did wrong.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top