Hi guys,
I am using this tutorial:
http://www.w3schools.com/ajax/tryit....=tryajax_first
where if you click a button, the the content of my div container is replaced with a message saying thank you for your submission. However, you cannot assign this to a submit button as it just ends up refreshing the page. I need a submit button to submit some items inside a form. Therefore, is there a way to submit the contents of a form and show the message like in the tutorial without the page refreshing to its normal state?
Any help would be fantastic.
Thanks.