Guest User

Untitled

a guest
Nov 19th, 2017
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. var form = document.getElementById('#novo');
  2. var dados = new FormData(form);
  3.  
  4. $.ajax({
  5. url:'recebedor.php',
  6. type:'post',
  7. data:dados,
  8. contentType:false,
  9. processData:false,
  10. success:function(resp) {
  11. alert(resp);
  12. }
  13.  
  14. });
  15.  
  16. });
Add Comment
Please, Sign In to add comment