The following code is not working in Chrome and I want to ensure that it works in all browsers:
P> $ Ajax ({url: 'homepage_marquee / marquee_panels.html', reference: document.body, async: false, success: function (data) {$ ('.marquee_panel_data') .html (data); SetupMarquee ();}}) ;
Ajax should run through a splash screen which is in the
marquee_panels.html file. It only shows the first panel on ChromeI have not found any errors in IE9 and Safari works fine.
I have tried to use the local file and hosted by Apache.
What am I doing?
Try adding url to a leading slash.
url: '/homepage_marquee/marquee_panels.html', This is a true relative path.
No comments:
Post a Comment