title: jQuery script reset the form
body: <p>I have page where I click on a link and change the content a of div with this code. I fill out that content with <code>page1.php</code> (it's a form with some dropdown lists). </p>
  
  <p>When I try to click on a dropdown list it resets it. How can I stop resting my from when I try to select something from a drop down list?</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
    $(function(){ 
  
      $('#page1').click(function(){
         pageUrl = 'page1.php';
         LoadingPages(pageUrl);
       })
  
       function LoadingPages(pageUrl){
         $('#content').load(pageUrl);
       }
  
       int = setInterval(function(){
         LoadingPages(pageUrl)
       },5000);
    });
  &lt;/script&gt;
  </code></pre>
  
  <p>HTML <sub><a href="https://stackoverflow.com/questions/12942062/jquery-script-reset-my-form#comment17541945_12942062">(taken from comment's)</a></sub></p>
  
  <pre><code>&lt;a href="#" id="page1"&gt;something&lt;/a&gt; 
  &lt;div id="content"&gt; 
  </code></pre>