php - A way to make html form disappear? -
what recommended or efficient way (least code/fastest) make html form dissapear page once submit button has been pressed , put in place output of .php file?
use ajax, jquery
http://api.jquery.com/jquery.ajax/
create div response (#response_content), , in callback of function like
$("#form_id").hide(); $("#response_content").html(data);
Comments
Post a Comment