i've got a problem with a simple form (post or get) : When I arrive on a page and I submit the form the page never stops loading and i must close it, impossible to do something else, it loads... but If I refresh the page when I arrive on it and I use my form after the refresh it works. If I deactivate the ajax it works fine ('$.mobile.ajaxEnabled=false;).
I tried a few things and the problem is the page in which i submit the form and not the action page. Notice that I never have the problem on some pages, and the problem always appear on others.
I had a similar problem with the display of a few divs (and working if I deactivate ajax) and I solved it using the jquery popup instead of my divs, but in this case I don't know how i can change (it's a search form in the top of the template of my website)
When I use it the first time i arrive on a page, i'm in the first case (if... == "block") and it works only for the div_titre_mobile (its display go to "none" ) but not for the 2 others.
If I use the function another time, it's the same, it works only for the div_titre_mobile (this time its display goes to "block") but not for the others.
If I reload the page, there is no problem, everything works.
I tried to write my function in many ways in jquery (show, toggle...) but the problem is exactly the same.