jquery slidetoggle

JavaScript
$("button").click(function(){
  $("p").slideToggle();
});in a way that the form fields get hidden when user submits the
form. The confirmation info should show along with two 
buttons. One should say, "yes it is correct". The other should
say "Make changes".
  - If the user confirms that it is correct, submit the form 
and alert that form is submitted. If user chooses to make 
changes, the form fields should display back and let the 
user make edits.   
Source

Also in JavaScript: