title: PhoneGap catch 'Go' pressed event for iPhone
body: <p>I want to know how to catch 'Go' pressed event using PhoneGap. </p>
  
  <p>I have a form with 2 input fields. How do I catch when user has pressed "Go" in keyboard. I tried butting the input fields in a <code>Form</code> and added a <code>onSubmit</code> method. And in my Js I have the method. </p>
  
  <pre><code>function onLoginSubmit(e){
     console.log('submit pressed');
     e.preventDefault();
  }
  </code></pre>
  
  <p>But looks like the method is never called. What is the best way of doing it? 
  An example would be great. </p>