title: PhoneGap/JQuery Mobile Form Data
body: <p>I am using PhoneGap and jQuery Mobile and am having difficulty capturing inputted form data. </p>
  
  <p>I have a simple form text field reading:</p>
  
  <pre><code>&lt;input name="which_entry_final" id="which_entry_final" type="text" value="777"&gt;
  </code></pre>
  
  <p>The form has a button reading:</p>
  
  <pre><code>&lt;button onclick='alert( $('#which_entry_final').val() );'&gt;Save&lt;/button&gt;
  </code></pre>
  
  <p>The alert should display whatever the user typed into the field. However in PhoneGap, it always shows "777" (the default value), no matter what is typed into the field.</p>
  
  <p>This only seems to be an issue in PhoneGap. When I run it on a regular webserver, it works properly. Any advice?</p>