title: how to trigger animatedmodal window after success ajax call?
body: <p>How to open the modal after a ajax call on success i need to trigger the modal window automatically</p>
  
  <pre><code>&lt;a class="main_blue_button" href="#complete_application_modal" id="applicationBtn"&gt;SIGN UP&lt;/a&gt;
  
  &lt;div id="complete_application_modal"&gt;adsfadsf&lt;/div&gt;
  </code></pre>
  
  <p>how to open the modal after on success ajax call </p>
  
  <pre><code>    $.ajax({
  type: "POST",
  url: "&lt;?php echo site_url(); ?&gt;users/signUp_business",
  data: $('#signup_form').serialize(),   
  dataType: "json",
  success: function(result){
  //alert(result);
      if(result.error==0){
          $("#show_error").html("This email or phone is already registered!");
          //$("#business_email").focus(); 
              $("#busp_email").removeClass('field_validation_error hidden');
                  $("#busp_email").addClass('field_validation_error');
                  $("#bus_email").css("color","#f42156");
                  hasError = true;
      }else if(result.success==1) {
  
      $("#signup_form")[0].reset();
  
      $("#applicationBtn").attr("href","#complete_application_modal");
  
      //$("#applicationBtn").attr("href", "#complete_application_modal").trigger('click');
          $("a").trigger("click");
  
      }
  </code></pre>