title: JQuery Mobile Form Submit not working
body: <p>I've seen other similar issues here that have found solutions but after trying them, none work on my case.</p>
  
  <p>I am submitting a form using JQuery Mobile. </p>
  
  <p>After I submit I get a loading message and nothing else.</p>
  
  <p>Does anyone have any ideas?</p>
  
  <p>Here is the relevan code:</p>
  
  <p>in the head:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt; 
  &lt;html&gt; 
      &lt;head&gt; 
      &lt;title&gt;Page Title&lt;/title&gt; 
      &lt;link rel="stylesheet"  href="http://code.jquery.com/mobile/1.0a4.1/jquery.mobile-1.0a4.1.min.css" /&gt;
      &lt;script type="text/javascript" src="http://code.jquery.com/jquery-1.5.2.min.js"&gt;&lt;/script&gt;
      &lt;script type="text/javascript" src="http://code.jquery.com/mobile/1.0a4.1/jquery.mobile-1.0a4.1.min.js"&gt;&lt;/script&gt;
  
  
      &lt;script&gt;
    //reset type=date inputs to text
    $( document ).bind( "mobileinit", function(){
      $.mobile.page.prototype.options.degradeInputs.date = true;
    });   
  &lt;/script&gt;
  
  
  &lt;/head&gt; 
  </code></pre>
  
  <p>Then the form:</p>
  
  <pre><code>&lt;form name="form1" method="post" rel="external" action="checklogin.php"&gt;
  
  
  &lt;div class="ui-field-contain ui-body ui-br" data-role="fieldcontain"&gt;
   &lt;label class="ui-input-text" for="name"&gt;Username:&lt;/label&gt;
  &lt;input name="myusername" id="myusername" value="" type="text"&gt;
  &lt;/div&gt;
  
  &lt;div class="ui-field-contain ui-body ui-br" data-role="fieldcontain"&gt;
   &lt;label class="ui-input-text" for="name"&gt;Username:&lt;/label&gt;
  &lt;input name="mypassword" id="mypassword" value="" type="text"&gt;
  &lt;/div&gt;
  
  &lt;fieldset class="ui-grid-a"&gt;
  &lt;div&gt;&lt;input value="" name="" type="hidden"&gt;&lt;button aria-disabled="false" class="ui-btn-hidden" type="submit" data-theme="a"&gt;Login&lt;/button&gt;&lt;/div&gt;&lt;/div&gt;
  &lt;/fieldset&gt;
  
  
  
  &lt;/form&gt;
  </code></pre>
  
  <p>Note: I've added an Echo on the action page but it never gets there.</p>
  
  <p>Any ideas anyone please?</p>
  
  <p>Thanks</p>