I have a form to email script. At the end of the script, after the email has been submitted, the script echos "The consultation form has been submitted...Thank you"
This echo is now alone on the window. Is it possible to add on a function to close this window? Could this be done within the
php script, after the "thank you" echo?
Or does this need to be placed within an
html page including the
php script, in javascript? (creating a button to click to close the window)
Thanks for all the great advice!