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

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -