kokochef

ajax

Jun 6th, 2018
34
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $(document).ready(function(){
  2.             $('#signup').click(function(event){
  3.                 event.preventDefault();
  4.  
  5.                 $.ajax({
  6.                     type: "post",
  7.                     url: "{{ path_for('auth.signup') }}",
  8.                     data: $(this).serialize()
  9.                 });
  10.             });
  11.         });
Add Comment
Please, Sign In to add comment