title: Adding css when form submitted javascript
body: <p>I want to add css to a class when my form is submitted because it take long time, but nothing change! here is my form</p>
  
  <pre><code>&lt;form method="post" class="std" enctype="multipart/form-data"&gt;
      &lt;button type="submit" name="submitAddProduct" class="btn btn-default button button-medium"&gt;
          &lt;span&gt;Garder&lt;i class="icon-chevron-right right"&gt;&lt;/i&gt;&lt;/span&gt;
      &lt;/button&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>the <code>div</code> I want to change :</p>
  
  <pre><code>&lt;div id="circlecontainer"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>and my script :</p>
  
  <pre><code>$('form.std').submit(function(e){
      $( "#circlecontainer" ).removeClass('whatever').addClass('whatever');
  });
  </code></pre>
  
  <p>I want the button to be disabled too when the submit goes on?</p>