title: jquery mobile & php
body: <p>When I pressed submit, but its value should not try to go over to php.</p>
  
  <pre><code>&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"&gt;              
  &lt;/script&gt;    
  &lt;Link rel = "stylesheet" href = "https://ajax.googleapis.com/ajax/libs/jquerymobile/1.4.5/jquery.mobile.min.css"&gt;
  &lt;script src="https://ajax.googleapis.com/ajax/libs/jquerymobile/1.4.5/jquery.mobile.min.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>But like change under the order of the above source , this value is passed to php.</p>
  
  <pre><code>&lt;Link rel = "stylesheet" href = "https://ajax.googleapis.com/ajax/libs/jquerymobile/1.4.5/jquery.mobile.min.css"&gt;
  &lt;script src="https://ajax.googleapis.com/ajax/libs/jquerymobile/1.4.5/jquery.mobile.min.js"&gt;&lt;/script&gt;
  &lt;Script src = "https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"&gt;
  </code></pre>
  
  <p>However, the framework is broken jquery mobile.
  How did the values ​​passed without breaking ?</p>
  
  <p>index.html</p>
  
  <pre><code>&lt;!DOCTYPE html&gt; 
  &lt;html&gt; 
  &lt;head&gt; 
  &lt;meta charset="utf-8" content="text/html&gt;`enter code here`
  
  &lt;meta name="viewport" content="width=device-width, initial-scale=1"&gt; 
  
  &lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"&gt;&lt;/script&gt;    
  &lt;script src="https://ajax.googleapis.com/ajax/libs/jquerymobile/1.4.5/jquery.mobile.min.js"&gt;&lt;/script&gt;
  &lt;link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jquerymobile/1.4.5/jquery.mobile.min.css"&gt;
  &lt;script type="text/javascript" src="http://dev.jtsage.com/cdn/spinbox/latest/jqm-spinbox.min.js"&gt;&lt;/script&gt;
  &lt;/script&gt;
  &lt;/head&gt; 
  &lt;body&gt;
          &lt;div  data-role="page"&gt;
              &lt;h1 id="header"&gt;IT Cafe&lt;/h1&gt;
              &lt;a href="#hot" data-role="button" data-inline="true" data-icon="home" data-iconpos="notext" id="homeicon" &gt;&lt;/a&gt;
              &lt;a href="#shop" data-role="button" data-inline="true" data-icon="shop" data-iconpos="notext" id="shopicon" &gt;&lt;/a&gt;
              &lt;nav data-role="navbar"&gt;
                  &lt;ul&gt;
                      &lt;li&gt;&lt;a href="#hot" class="ui-btn-active ui-state-persist" &gt;Coffee(Hot)&lt;/a&gt;&lt;/li&gt;
                      &lt;li&gt;&lt;a href="#ice" &gt;Coffee(Ice)&lt;/a&gt;&lt;/li&gt;
                      &lt;li&gt;&lt;a href="e#tc" &gt;Etc&lt;/a&gt;&lt;/li&gt;
                  &lt;/ul&gt;
              &lt;/nav&gt;
                          &lt;form name="f" method="post" action="submit.php"&gt; 
  &lt;input type="text" name="test" /&gt; 
  &lt;input type="submit" value="submit" /&gt; 
  &lt;/form&gt; 
          &lt;/div&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>submit.php</p>
  
  <pre><code>&lt;?php 
      echo "&lt;pre&gt;"; 
      print_r($_POST); 
      echo "&lt;/pre&gt;"; 
  ?&gt;
  </code></pre>