Guest User

Untitled

a guest
Aug 18th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. Parsing page after POST with jquery
  2. $("#go").click(function() {
  3. $.post("i/go.php", $("#form").serialize());
  4.  
  5. var code= '';
  6.  
  7. $("section").empty().html(code);
  8. });
  9.  
  10. $.post("i/go.php", $("#form").serialize(),
  11. function(data) {
  12. // do something with data
  13. $("#some_div").html(data);
  14. }
  15. );
Add Comment
Please, Sign In to add comment