Advertisement
Guest User

Untitled

a guest
May 25th, 2014
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. <script>
  2. $('vapp').submit(function({ //listens for form submission
  3.  
  4. $(this).preventDefault(); //stops the submission
  5.  
  6. $.post('vappengine.php', $(this).serialize, function(response){
  7. //posts the data to actionpage.php, with the form data, and then runs a function handling the response.
  8.  
  9. });
  10.  
  11.  
  12. }));,
  13. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement