Getting iPhone GO button to submit form

前端 未结 9 1810
轻奢々
轻奢々 2020-12-05 02:08

Is anyone aware of what variables go into a form to make the iPhones virtual keyboard\'s GO button submit the form vs. not?

I\'ve been trying to narrow down the scen

9条回答
  •  清歌不尽
    2020-12-05 02:52

    The code given by the others is correct. If you are using jQuery Mobile then add

    data-role="none" 
    

    to the submit input element. Like so:

    
    

提交回复
热议问题