![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| Welcome
to Tech Support Forum home to more then 136,000 problems solved. Issues
have included: Spyware, Malware, Virus Issues, Windows, Microsoft,
Linux, Networking, Security, Hardware, and Gaming Getting your
problem solved is as easy as: 1. Registering for a free account 2. Asking your question 3. Receiving an answer Registered members: * See fewer ads. * And much more..
|
| Want to know how to post a question? click here | Having problems with spyware and pop-ups? First Steps |
|
|||||||
| Web Design & Programming Discussion of web design, and server-side & client-side scripting |
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) |
|
Registered User
Join Date: Sep 2007
Posts: 4
OS: WinXP Media Center, SP2
|
Close window
I am a new-new newbie, and would like to create a web contact form that closes the window after you click the "submit" button. I am using WebEasy and have the form created. At present, the container script says <onsubmit="return weCheckForm(this)"> for the submit button. I no nothing about HTML, what can I put in this script to make the window close after clicking the submit button? Or, alternatively, what would I write for a "close" button?
|
|
|
|
| Important Information |
|
Join the #1 Tech Support Forum Today - It's Totally Free!
TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free. Join TechSupportforum.com Today - Click Here |
|
|
#2 (permalink) |
|
TSF Enthusiast
Join Date: Nov 2004
Posts: 555
OS: Windows XP Pro & Windows Vista Ultimate browsing the web with FF, Opera, Safari and IE.
|
Re: Close window
@ shiphranita: I'm not a user of WebEasy, so I can't tell you how to solve your problem. But I do have a suggestion: in stead of closing the web contact form after pressing submit, it is better to go to a new page after pressing submit that simply tells people that the contact form was succesfuly received by the webmaster and that should get a reply back in a couple of days. If you would close the web contact form after people press submit, many will probably think something has gone wrong and will try again...
Greetz,
__________________
KoosHopeloos, straight to you from .nl via the world wide web! ![]() |
|
|
|
|
|
#4 (permalink) |
|
TSF Enthusiast
Join Date: Nov 2004
Posts: 555
OS: Windows XP Pro & Windows Vista Ultimate browsing the web with FF, Opera, Safari and IE.
|
Re: Close window
@ shiphranita: I think the best way to go is to use php. Take a look in this thread, but before you use it send Redcore a PM that you wish to use the script.
__________________
KoosHopeloos, straight to you from .nl via the world wide web! ![]() |
|
|
|
![]() |
| Thread Tools | |
|
|