You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Jquery mobile collides in a very unfortunate manner with angular.js when handling forms.
The following fiddle demonstrates that angular does not successfully prevent jqm from loading the next page when ajax is not disabled. It only successfully prevents the browsers default action with event.preventdefault().
Any way to get jqm out of the way? I tried disabling ajax on the form by specifying data-ajax="false" but a bug in jqm (jquery-archive/jquery-mobile#4896) currently prevents this.
Related to that is why we need to disable support for dynamicBaseTag explicitly (which works around the jqm bug)?
The text was updated successfully, but these errors were encountered:
Kind of related (while trying to make jqm not fail on a form with data-ajax="false" without an action attribute on it): Why is the adapter setting this in jqmDisableHashChange?
Hi,
here is an updated jsfiddle with no action attribute (by which the browser will not post the form), and a data-ajax="false" attribute on the form. This works well: http://jsfiddle.net/FHVMh/14/
Closing this. Please open it again if you have more problems.
Jquery mobile collides in a very unfortunate manner with angular.js when handling forms.
The following fiddle demonstrates that angular does not successfully prevent jqm from loading the next page when ajax is not disabled. It only successfully prevents the browsers default action with event.preventdefault().
http://jsfiddle.net/FHVMh/11
Any way to get jqm out of the way? I tried disabling ajax on the form by specifying
data-ajax="false"
but a bug in jqm (jquery-archive/jquery-mobile#4896) currently prevents this.Related to that is why we need to disable support for dynamicBaseTag explicitly (which works around the jqm bug)?
The text was updated successfully, but these errors were encountered: