Atif
Atif

Reputation: 10880

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.

Upvotes: 0

Views: 243

Answers (2)

ThePants
ThePants

Reputation: 533

OK. I'll bite.

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

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

Upvotes: 0

regilero
regilero

Reputation: 30496

Remove extra space on " #items", maybe?

Upvotes: 1

Related Questions