title: Why jquery ajax form post not working in Firefox
body: <p>I have used jaquery ajax form post,it works fine in chrome but not in Firefox.
  any body please help.</p>
  
  <pre><code>    &lt;form id='sig_up' name='sig_up' style='min-width:170px'&gt;
      &lt;textarea id='sig' class='custom-scroll' style='max-height:180px;'&gt;&lt;/textarea&gt;
      &lt;br&gt;
      &lt;input class='btn' type='submit' /&gt; 
  &lt;/form&gt;
  &lt;script type="text/javascript"&gt;
       $('#sig_up').submit(function(e) {
              e.preventDefault();
              $.ajax({
                  url:  'update_sig.php',
                  data: $('#sig_up').serialize(),
                  type: 'POST',
                  success:function(data){
                      console.log('ok');
                  },
                  error:function(data){
                      console.log(data);
                  }
              });
      });
  &lt;/script&gt;
  </code></pre>