title: select an option without reload page
body: <p>i know, that my code is not well, but i tryed my best.</p>
  
  <p>here is my code:</p>
  
  <pre><code>function submitForm() {
      document.getElementById("formElement").submit();
  }
  
  jQuery(document).ready(function($) {
  var img = new Image();
      $(img).load(function () {
      $(this).hide();
      $('#loader').removeClass('loading').append(this);
      $(this).fadeIn(800);
  }).attr('src', '.chart.php?id=&lt;? echo $sid; ?&gt;&amp;date=&lt;? echo $order; ?&gt;');
  });
  
  &lt;div id="loader" class="loading"&gt;&lt;/div&gt;
  
  &lt;select name="order" class="dropdown" onChange="submitForm()"&gt;
  &lt;option disabled selected&gt; &lt;? echo(CHOOSE); ?&gt; &lt;/option&gt;
  &lt;option value="./chart.php?id=&lt;? echo $sid; ?&gt;&amp;date=d"&gt; &lt;? echo(CHOOSE_DAY); ?&gt; &lt;/option&gt;
  &lt;option value="./chart.php?id=&lt;? echo $sid; ?&gt;&amp;date=m"&gt; &lt;? echo(CHOOSE_MONTH); ?&gt; &lt;/option&gt;
  &lt;option value="./chart.php?id=&lt;? echo $sid; ?&gt;&amp;date=y"&gt; &lt;? echo(CHOOSE_YEAR); ?&gt; &lt;/option&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>my problem is, that i dont want to reload always the page if i use the select options.</p>
  
  <p>i hope any can help me, thx for now^^</p>