开发者

jQuery load() doesnt work on IE?

开发者 https://www.devze.com 2023-02-04 11:08 出处:网络
This is my code function grabLatestWho() { jQuery("#items").load(window.location.href +" #开发者_开发问答items");

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

精彩评论

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