The contact form displays a confirmation message and clears the form fields after submission.
The form is hidden by default. A page anchor link reveals the contact form interface.
I would like to clear the confirmation message when the form anchor link is activated to hide the form.
I have try the jquery hide, remove methods and js style.display = none; without success.
I am using the reset method to clear the from fields on submission. However it makes little sense to clear the confirmation message at this time. The user would receive no confirmation of a successful submission.
Another possibility is to fadeout the confirmation message after 5 seconds or to refresh the html page.
What is the proper way to clear the confirmation message after form submission.