Subversion Repositories SmartDukaan

Rev

Rev 21852 | Rev 21940 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 21852 Rev 21933
Line 781... Line 781...
781
      if(!isChecked){
781
      if(!isChecked){
782
          alert('Please select the Status of shop');
782
          alert('Please select the Status of shop');
783
           return false;
783
           return false;
784
     }
784
     }
785
      formData = new FormData($(this)[0]);
785
      formData = new FormData($(this)[0]);
786
      
786
      $('#ajax-spinner').show();
787
      jQuery.ajax({
787
      jQuery.ajax({
788
          url: "register",
788
          url: "register",
789
          type: 'POST',
789
          type: 'POST',
790
          data: formData,
790
          data: formData,
791
          async: false,
791
          async: false,
792
          beforeSend: function(){
-
 
793
              $('#ajax-spinner').show();
-
 
794
          },
-
 
795
          success: function (data) {
792
          success: function (data) {
796
            $('#ajax-spinner').hide();
793
            $('#ajax-spinner').hide();
797
              alert("ThankYou for the registration.Out team will contact you soon.");
794
              alert("ThankYou for the registration.Out team will contact you soon.");
798
              $('#form')[0].reset();
795
              $('#form')[0].reset();
799
          },
796
          },