开发者

jQuery load() doesnt work on IE?

This is my code

function grabLatestWho() {
    jQuery("#items").load(window.location.href +" #开发者_开发问答items");
}

Seems not to be working on IE :(

update

The function is pretty selft explainatory. It loads the div#items from that ajax page into the div#items on the current page which works fine on other browsers.

It is null on IE.


Remove extra space on " #items", maybe?


OK. I'll bite.

Where is grabLatestWho() called from? Is that wrapped in your standard jquery load call?

$(document).ready(function() {grabLatestWho();}
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜