I posted a similiar thread before here, but after further investigation I've found that the problem is with $.ajax jsonpCallback parameter.
In the following simple code it crashes every time on the 2nd request (cache problem?)
<html>
<head>
<title>Hello world</title>
</head>
<body>
<span id="ClickMe">Click Me</span>
</body>
<script src="http://code.jquery.com/jquery-1.4.2.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready( function() {
//console.log('Init');
alert('asdasd');
$("#ClickMe").click( function() {
$.ajax({
url: 'http://URL-THAT-CAN-HANDLE-DIFFERENT-CALLBACK-NAMES',
dataType: 'jsonp',
jsonpCallback: 'myCustomCallback',
success: function(data) {
}
});
});
});
</script>
</html>
This code will cause IE6 and IE7 to crash on the 2nd click on the Click Me-span.
Anyone now what can cause this?