I am using .load
to load some data into a div. It works just fine but if I try to be specific and load a specific ID from the html IE won't load anything.
Ex.
$('div.myDiv').load('/example/example.htm');
works just fine but if I get specific on what to load like
$('div.myDiv').load('/example/example.htm #dogs');
IE loads nothing. is this not something that works in IE? The Jquery site doesn't say it doesn'开发者_Go百科t. If it helps I'm using version jquery-1.5.min.js.
Does the html from /example/example.htm validate?
.load() will fail in ie if there are errors in the html.
精彩评论