javascript - Submit Form onChange with data-native-menu="false" -


i'm trying submit form when select changes using jquery mobile. have no requirements on select element looks like. require form submitted without ajax. code have:

<form name="langform" method="post" data-ajax="false">     <select name="syslang" id="chooselang" data-mini="true" onchange="this.form.submit()">         <options />     </select> </form> 

now works iphone, when try on android select menu doesn't show up. when add data-native-menu="false" select, select menu shows , works on android, form doesn't submitted on iphone.

i should mention i'm using jquery mobile 1.1.0 , jquery 1.7.1

all need have submit on both devices. can this?

so found solution problem. wanted share in case else ran issue. apparently jquery mobile 1.1 has issues form elements in fixed containers (using position: fixed) android 2.2 , 2.3, referenced here http://jquerymobile.com/demos/1.1.0/docs/forms/docs-forms.html.

so can't use fixed position footer , form element within it.


Comments

Popular posts from this blog

c# - SVN Error : "svnadmin: E205000: Too many arguments" -

c# - Copy ObservableCollection to another ObservableCollection -

All overlapping substrings matching a java regex -