I'm experiencing quite a wired scenario. I'm debugging a web page with Firefox 15.0.1, it's a search page that can be accessed in two ways:
1) You call the page with a GET parameter indicating the search terms
2) You access the normal page, just type something on the searchbox and for example, click Enter
The point is, when you access using the GET parameter, there is a $(document).ready handler that performs the search and some extra operations, otherwise there is a form.onsubmit handler that does the same (I know, it's a bit messy but I'm just mantaining it, I cannot start from the scratch :D) and here the funny part comes.
I didn't notice at the beginning, that ONLY FIREFOX fires again and again the $(document).ready when somebody launches the form.onsubmit despite the fact that, the onsubmit handler cancels the default behaviour (read 'return false') so the page is never loaded again.
Once I found this funny behaviour I tested with other browsers (I tested this for example with Opera) and as the submit is canceled and the page is never loaded again, they don't fire again the $(document).ready (and this make sense).
So, do you know if there is some known bug or issue with the $(document).ready only on Firefox being fired every time even when the page is never reloaded?
Oh, this page is using jQuery v1.5.2.
Thanks in advance!!