title: Unable to get success response from ajax and getting JQuery not defined on submit in firefox and IE
body: <p>This code is used on Jive tool to post the data to some server.
  But this is not happening.The code is unable to get success message in firefox and IE but receiving :</p>
  
  <blockquote>
    <p>Reference error: <code>$j</code> is not defined.</p>
  </blockquote>
  
  <p>Due to some jquery conflict. After adding the <code>juery.noConflict()</code> the result is same.
  Is there any other means by which this can be achieved.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code> 
  
     &lt;!DOCTYPE html&gt;
      &lt;html lang="en"&gt;
      &lt;head&gt;
        &lt;meta charset="utf-8"&gt;
        &lt;meta name="viewport" content="width=device-width, initial-scale=1"&gt;
        &lt;link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"&gt;
        &lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"&gt;&lt;/script&gt;
        &lt;script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"&gt;&lt;/script&gt;
          &lt;script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-validator/0.4.5/js/bootstrapvalidator.min.js"&gt;&lt;/script&gt;
        &lt;script src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js" type="text/javascript"&gt;&lt;/script&gt;
      &lt;/head&gt;
      &lt;script&gt;
        $(document).ready(function() {
          $('#contact_form').bootstrapValidator({
              // To use feedback icons, ensure that you use Bootstrap v3.1.0 or later
              feedbackIcons: {
                  valid: 'glyphicon glyphicon-ok',
                  invalid: 'glyphicon glyphicon-remove',
                  validating: 'glyphicon glyphicon-refresh'
              },
              fields: {
                  name: {
                      validators: {
                              stringLength: {
                              min: 2,
                          },
                              notEmpty: {
                              message: 'Please enter your name'
                          }
                      }
                  },
         email: {
                      validators: {
                          notEmpty: {
                              message: 'Please enter your email address'
                          },
                          emailAddress: {
                              message: 'Please enter a valid email address'
                          }
                      }
                  },
                   Function: {
                      validators: {
                           stringLength: {
                              min: 2,
                          },
                          notEmpty: {
                              message: 'Please supply Function'
                          }
                      }
                  },
                  RequestFor: {
                      validators: {
                          notEmpty: {
                              message: 'Please select request for'
                          }
                      }
                  },
                  RequestTitle: {
                      validators: {
                            stringLength: {
                              min: 1,
                              max: 100,
                              message:'Please enter at least 1 characters and no more than 100'
                          },
                          notEmpty: {
                              message: 'Please enter request title'
                          }
                          }
                      },
                  DescribeYourRequest: {
                      validators: {
                            stringLength: {
                              min: 1,
                              message:'Please enter at least 1 character'
                          },
                          notEmpty: {
                              message: 'Please describe your request'
                          }
                          }
                      }
                  }
              });
              
        });
      &lt;/script&gt;  
      &lt;script&gt;
      $("#contact_form").submit(function(e)
      {
        // get form data and add to body 
           var body="some data";
        var req  = {   some object };
  
              req = JSON.stringify(req);
              console.log(req);
       $.ajax({         type:"POST",
                                                url: "&lt;&lt;Some Url&gt;&gt;",
      headers: { 'X-J-Token': window.parent._jive_auth_token },
                                                contentType: "application/json",
                                                data: req,
                                                dataType: "json",
                  success: function(data, textStatus, jqXHR) 
              {
                  alert("Result: "+data.result+", Message: "+data.message);
              }                                                        
      });
      });
      &lt;/script&gt;
      &lt;div class="container"&gt;
      &lt;fieldset&gt;
      &lt;!-- Form Name --&gt;
      &lt;form id="contact_form" &gt;
      &lt;span class="text-center"&gt;&lt;h2&gt;My Form&lt;/h2&gt;&lt;/span&gt;
      &lt;!-- Text input--&gt;
      &lt;div class="form-group"&gt;
        &lt;label class="col-md-4 control-label"&gt;Name&lt;font color="red"&gt;*&lt;/font&gt;&lt;/label&gt;  
        &lt;div class="col-md-4 inputGroupContainer"&gt;
        &lt;div class="input-group"&gt;
        &lt;span class="input-group-addon"&gt;&lt;i class="glyphicon glyphicon-user"&gt;&lt;/i&gt;&lt;/span&gt;
        &lt;input  name="name" placeholder="Name" id="Name" class="form-control"  type="text" required&gt;
          &lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;
      &lt;!-- Text input--&gt;
      &lt;div class="form-group"&gt;
        &lt;label class="col-md-4 control-label"&gt;E-Mail&lt;font color="red"&gt;*&lt;/font&gt;&lt;/label&gt;  
          &lt;div class="col-md-4 inputGroupContainer"&gt;
          &lt;div class="input-group"&gt;
              &lt;span class="input-group-addon"&gt;&lt;i class="glyphicon glyphicon-envelope"&gt;&lt;/i&gt;&lt;/span&gt;
        &lt;input name="email" placeholder="E-Mail Address" id="EmailId" class="form-control"  type="text" required&gt;
          &lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;
      &lt;!-- Text input--&gt;     
      &lt;div class="form-group"&gt;
        &lt;label class="col-md-4 control-label" &gt;Function&lt;font color="red"&gt;*&lt;/font&gt;&lt;/label&gt; 
          &lt;div class="col-md-4 inputGroupContainer"&gt;
          &lt;div class="input-group"&gt;
        &lt;span class="input-group-addon"&gt;&lt;i class="glyphicon glyphicon-pencil"&gt;&lt;/i&gt;&lt;/span&gt;
        &lt;input name="Function" placeholder="Function" id="Function" class="form-control"  type="text"&gt;
          &lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;
      &lt;!-- Select Basic --&gt;      
      &lt;div class="form-group"&gt; 
        &lt;label class="col-md-4 control-label"&gt;Request For&lt;font color="red"&gt;*&lt;/font&gt;&lt;/label&gt;
          &lt;div class="col-md-4 selectContainer"&gt;
          &lt;div class="input-group"&gt;
              &lt;span class="input-group-addon"&gt;&lt;i class="glyphicon glyphicon-list"&gt;&lt;/i&gt;&lt;/span&gt;
          &lt;select name="RequestFor" id="Requestfor" class="form-control selectpicker" &gt;
            &lt;option value=" " &gt;Please select Request For&lt;/option&gt;
            &lt;option &gt;a&lt;/option&gt;
              &lt;option&gt;b&lt;/option&gt;
              &lt;option&gt;c&lt;/option&gt;
              &lt;option&gt;d&lt;/option&gt;
          &lt;/select&gt;
        &lt;/div&gt;
      &lt;/div&gt;
      &lt;/div&gt;
      &lt;!-- Button --&gt;
      &lt;div class="form-group pull-right"&gt;
        &lt;label class="col-md-4 control-label"&gt;&lt;/label&gt;
        &lt;div class="col-md-4"&gt;
          &lt;button type="submit" class="btn btn-primary" onclick="documentCreation()"&gt;Submit&lt;/button&gt;
        &lt;/div&gt;
      &lt;/div&gt;
      &lt;/fieldset&gt;
      &lt;/div&gt;
      &lt;/form&gt;
          &lt;/div&gt;&lt;!-- /.container --&gt;
      &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>