Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function CheckConfirmCode()
- {
- $.ajax({
- type:'POST',
- url:'http://foodstore.media-soup.ru/hs/repsend_reg_shop.php',
- data:'state=check&phone='+$('#phone_shop').val(),
- success:function(response)
- {
- var inforesp = response.split('|');
- if(inforesp[0] == 'time_wait')
- {
- $('#log_wait').empty().text(inforesp[1]).fadeIn(700);
- }
- else if(inforesp[1] == 'time_send')
- {
- $('#log_wait').empty().text('Код повторно отправлен');
- setTimeout(function() { $('#log_wait').fadeOut(700); },2000);
- UpdateRepeatDate();
- }
- }
- })
- //isSendQuery = true;
- //$('#apply_form').submit();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement