Advertisement
thearcher4

Untitled

Jun 20th, 2012
666
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $.ajax({
  2.  
  3.     url : ...,
  4.  
  5.     success : function(){
  6.         $.trigger('save.success') //note namespaced event
  7.     },
  8.  
  9.     error : function(){
  10.         $.trigger('save.error');
  11.     }
  12. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement