A rather annoying issue I ran into this evening when testing my up-and-coming CSS gallery on a live server was that all of my cross-domain AJAX calls were failing in Firefox.  I'm used to stuff failing for stupid reasons in IE, but this one was unique.  I tested in Safari (for Windows), IE 7, and Opera–all of them worked beautifully.  But for whatever reason, Firefox horked on the code.

Well, it turns out it was a simple fix.  In my AJAX calls, I was using the Spry loadURL() function.  For this function, you can specify whether the call should be a "POST" or "GET" method.  I assumed for my remote calls that I would be doing POST methods.  

After all was said and done, it was apparently the POST methods that Firefox was having a coniption over.  I changed the methods really quickly to GETs, and everything worked again in all browsers.

As I am mostly stupid, I have no reason why this happened–however, perhaps this will be useful to some other poor code monkey out there who is betrayed by Firefox in the wee-hours of the night, and maybe a wiser soul would be kind enough to post a comment about More >