I am building a mobile website, In this a form is there but no submit button. So when the user types something in the input field and clicks on Android or iPhone GO button it should submit the form. I’m using HTML and jQuery for this.
How can I capture this GO event in jQuery? I want it to be done this way it self.
Add a submit-button and set its
opacityto0.I used this for html:
And this to
alert()the value:You just need to handle the submit-Event of the form, this works great with jQuery.