Hi, I need a way to use an html webform on a webpage and when the user clicks submit the "Thank you" page content replaces the webform on the same page. I am trying to prevent the user from leaving the webpage they are currently viewing. 1. I can't use Iframes in this scenario. 2. Alternatively, if the thank you page could popup in a very small new window they could work too. Thanks for any help. Kevin
Replace the submit button in your form with a 'button' input and make it call a javascript function...then ajax is the best action from there May I suggest you look for the $.post function on jquery.com, imo it's the best way to do ajax. (Requiers Jquery)