I need to show a div upon page reload after the user clicks on the submit form button.
Specifically, I have a PHP contact form in a show/hide div. Clicking on contact shows and hides the contact form. Both the show/hide js and the php contact form work perfectly. When the user clicks submit -- the page reloads and the "message sent" is written in the contact form div. But when the page reloads, the form is in a div set to display: none; in the CSS -- which is how the page loads on default.
Upon submit, I need the page to reload and show the contact form in the hidden div. I'm not exactly sure where to start since all the javascript for the page reloads to default. Also since it's all PHP I can't set or call an anchor in the content_form div.
Thanks!