Advertisement
Guest User

Untitled

a guest
Sep 25th, 2017
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.         $('#statusUpdateForm').submit(function() {
  2.            
  3.             $.ajax({ // Starter Ajax Call
  4.                
  5.                 type: "POST",
  6.                 url: baseurl + 'profile/statusUpdate',
  7.                 data: $('#statusUpdateForm').serialize(),
  8.                 success: function(data) {
  9.                     alert(data);
  10.                 }
  11.      
  12.             },'json');
  13.            
  14.             return false;
  15.            
  16.         });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement