0

I have a problem with the following code on my website:

$(document).ready(function(){   
       $("#gallery").load("html/gallery/gallery.html");
}

When it runs in Chrome, it works great, but when I run my site in Firefox it does not load the gallery.html page.

Is there a solution for this?

Simon Adcock
  • 3,554
  • 3
  • 25
  • 41
royb
  • 693
  • 3
  • 9
  • 20
  • What does the console say? – andrew-caulfield Apr 16 '13 at 21:09
  • 2
    Are you running the site locally? Also, take a look at browser's debugging tools, it should have a **net** panel or something similar that would allow you to see the **ajax** request. – plalx Apr 16 '13 at 21:10
  • You haven't given enough information for us to help you with this issue. It should work, but something in your code (the html of your gallery, etc) is causing the issue. If you can give a little more information we could try to help. – Nate Apr 16 '13 at 21:43

0 Answers0