The following code isn't working in Chrome and I want to make sure it works in all browsers:
$.ajax({
url: 'homepage_marquee/marquee_panels.html',
context: document.body,
async: false,
success: function (data) {
$('.marquee_panel_data').html(data);
setUpMarquee();
}
});
The ajax is supposed to cycle through some splash screens which is in the marquee_panels.html
file. It only displays the first panel on Chrome. I don't get any errors. Works fine in IE9 and Safari.
I have tried local file access and hosted via Apache.
What am I doing wrong?