Hi Guys and Girls,
i am currently working on a project and have noticed that in ie8 when loading a php file using AJAX / JQuery.load() it will not load if the php contains and <script> tags!!!
Only IE8 ????
If i remove the scripts from within the php file it works??
Any suggestions below is the code I'm using to load the php file
Code:
var parts = window.location.href.split('?', 2);
// After calling split(), 'parts' is an array with two elements:
// parts[0] is 'sometext'
// parts[1] is '20202'
var the_text = parts[0];
var the_num = parts[1];
$(document).ready(function() {
$("#dealsystem").load('assets/snippets/bogof/dealsystem.inc.php?'+the_num);
var refreshId = setInterval(function() {
$("#dealsystem").load('assets/snippets/bogof/dealsystem.inc.php?'+the_num);
}, 10000);
$.ajaxSetup({ cache: false });
});
Thanks in advance and sorry for excessive ????