jquery/jquery-mobile — Issue #3084: ajaxEnabled doesn't work with form submission
Author: vlabmichl
Created: 2011-11-17 08:12:23+00:00
State: open

Using the global "ajaxEnabled" setting switched to "false" doesn't work with form submission as it's mentioned in the JQM docs.
The URLs are still AJAXified after a submission.
A workaround is to manually pass the form attribute

to the form tag. This works.

I use the following JQM initializer for my app:

```javascript
$( document ).bind( "mobileinit", function(){
$.extend( $.mobile , {
ajaxEnabled: false,
loadingMessage: "Lade Daten...",
pageLoadErrorMessage: "Fehler beim laden der Daten!",
});
});
```