title: how to submit a form onChange with JqueryMobile
body: <p>I have a select menu that iam using to change the laguage to this site. </p>
  
  <p>Onchange iam trying to refresh the current page and pass the variables to the link or the adress. </p>
  
  <p>this is the code ; </p>
  
  <pre><code> &lt;form action='index.php' method="get" id='myForm'&gt;
  &lt;select name="language" id="language" data-theme="b" style="float:right;" data-native-menu="false" 
  onchange="$.mobile.changePage( 'index.php', {
  type: 'get', 
  data: $('form#myForm').serialize()} );"&gt;
  
                  &lt;option value="eng"&gt;English&lt;/option&gt;
                  &lt;option value="ita"&gt;Italian&lt;/option&gt;
                  &lt;option value="esp"&gt;Spanish&lt;/option&gt;
                  &lt;option value="fr"&gt;French&lt;/option&gt;
              &lt;/select&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>However as a result i get somethingh along the lines of ; <strong>index.php?language=ita&amp;language=eng&amp;language=eng&amp;language=eng&amp;language=eng</strong></p>
  
  <p>iam trying to get only <strong>index.php?language=ita</strong></p>
  
  <p>Also would it be possible to point the submit to the current page and not index.php</p>
  
  <p>Thanks in adavanced to any one with the time to help me out </p>