开发者

adblock and jquery

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 ab开发者_JAVA百科out 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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜