Advertisement
Guest User

Untitled

a guest
Jun 30th, 2016
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. $.ajax({
  2.  
  3. url : "request/register.php",
  4. type : "POST",
  5. data : 'firstName='+firstName + '&lastName='+lastName + '&userName='+userName + '&email='+email + '&password='+password + '&con_password='+con_password,
  6. dataType : "text",
  7. beforeSend : function(http){
  8. $('#reg').val("Submitting....");
  9. },
  10. success : function(response,status,http){
  11. var text = response;
  12. console.log(text);
  13. },
  14. error : function(http,status,error){
  15. alert('server error');
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement