title: HTML5 required validation not working [Duplicated]
body: <p>I'm using HTML 5 for validating fields.I'm submitting the form using javascript on a button click</p>
  
  <p>But the validation doesn't work on my pc fire fox,it work only on my pc chrome.
  also it d'osent work in the integration server with both chrome and fire fox
  This is the HTML code.</p>
  
  <pre><code>&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"&gt;&lt;/script&gt;
  &lt;div class="group-form col-md-9 col-sm-9 col-xs-12"&gt;
  &lt;label class="text-hide" for="name"&gt;&lt;/label&gt;
  &lt;input type="text" id="name" placeholder="Nom" name="nom" required /&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>My google chrome version is Version 56.0.2924.87 (64-bit).
  My firefox version is 45.6.0.</p>
  
  <p><strong>Edit</strong> 
  this is my JS code:</p>
  
  <pre><code>var args = 'ct_nom=' + nom ;
  var $myForm = $('#form-contact'); $.get("adresse of the web service" + args, function (data) {
  $myForm.submit();
   }).fail(function () {
  $myForm.submit();
  });
  </code></pre>