Hi all, I have a page that uses the load() method to pull in new pages without refreshing the entire document. In the ASP source I have conditionals which display only the contents of a certain div if the request came via AJAX.
This works for certain pages on my site, but other pages seem to just, well, 'go nuts' - the viewport goes blank and the browser doesn't pull in any content. This only seems to affect Firefox. IE6 and 7 seem to work. Furthermore, the first time this happens, in the Firebug console I can see 4 requests for the same URL (each taking 2000ms - much longer than usual), and a request for one of my Javascript files. None of these extra requests happen when the load() method works; I just see one request for the proper URL taking about 400ms. (In IE6 and 7 the non- working pages work, but the load() takes longer.) If I press the back button and try a different non-working page, I see in the Firebug console an error: "$ is not defined", and no extra requests. If it helps, you can see the problem in action: http://gibaran.michaelmajor.info/ Any help with this would be appreciated - I'm new to jQuery and am stumped by this one. Cheers, Ben