Hi there,
There is nothing wrong with your script.
It works for me on IE7 - IE10 and all of the other major browsers.
This is the code I used to test (note if you include your JS at the bottom of the page you can do away with the call to $(document).ready())
index.html
HTML Code:
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>jQuery load</title>
</head>
<body>
<button id="btn_click">Button</button>
<div id="div1-wrapper">This will be replaced.</div>
<script src="http://code.jquery.com/jquery-latest.min.js" type="text/javascript"></script>
<script>
$('#btn_click').on('click', function() {
var url = 'test.php';
$('#div1-wrapper').load(url + ' #div1');
});
</script>
</body>
</html>
test.php
PHP Code:
<div id="div1">Some random content!</div>
Could you maybe post a link to a page where we can see this not working in IE10.
Bookmarks