Click to See Complete Forum and Search --> : CGI-Script Question (Close Button)


jordanj
03-23-2004, 03:00 PM
Hello,

I created a form that has a cgi-script backend. When you submit the form, you get a message that says "Thank you for submitting."

How could I modify the cgi-script so I could add a button that will close the "Thank you for submitting" page.

Any help would be greatly appreciated.

Thanks;

Jeremy

Sam
03-23-2004, 04:17 PM
that's actually built in (see attachment)
but if you to want to add a javascript button (which really isn't neccesary), you could add something like this:
function closeMe()
{
window.close();
}

jordanj
03-24-2004, 07:23 AM
Thank you for the information. I am aware of the buttons you attached, but I wanted to experiment with the form to maybe make look a little more professional.

Thanks Again.

silent11
03-29-2004, 01:07 PM
Originally posted by samij586
that's actually built in.....

LOL :D