Guest User

Untitled

a guest
Sep 25th, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. dataString = $("#consultForm").serialize();
  2.  
  3. $.ajax({
  4. type: "POST",
  5. url: "<?php echo site_url('consult/complete'); ?>",
  6. data: dataString,
  7. success: function(data){
  8. alert(data);
  9. },
  10. error: function () {
  11. alert("<?php echo site_url('consult/complete'); ?>");
  12. },
  13. });
Add Comment
Please, Sign In to add comment