English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

when i click on submit button on contact us page (www.companyname/contact_... , m redirected to my asp page ... (www.companyname/contact_... ,is it possibe dat when i click submit button in form, processing continues at backend (asp) and i wud redirected to some other page .. say www.google.com..... or a popup window

2006-08-29 10:08:22 · 5 answers · asked by Dave 2 in Computers & Internet Programming & Design

well ritziyap.. i did got popup message.. but still redirecting to my asp page..
its like a contact form.. when we fill da form and click submit.. it redirect me to action="mywebsite/submit.asp"
i want asp page sud work as it is doing right now.. but instead of my asp page, browser sud show up some other i.e www.google.com

2006-08-29 10:31:57 · update #1

5 answers

a simple javascript will do the trick:




hope this helps.

2006-08-29 10:12:13 · answer #1 · answered by ritziyap 2 · 0 0

since you are using ASP, continue having the form send the form data to your processing page so it can do whatever it does with the data (email it, insert into database,whatever) and then put the following as the very last line of code:

response.redirect "http://www.google.com"

substitute the web page of your choice, of course. it could be to your own thank-you page, or back to the form itself in case it's a form that might get used repeatedly. or it could go to an external site. therefore, be careful creating your path (add "http://" for external, or "../pagename.asp" for internal, etc.)

good luck!

all of the processing that takes place before the redirect will happen fast enough it'll be nearly transparent to the site visitor.

2006-08-29 13:18:36 · answer #2 · answered by country bear 2 · 0 0

The best way to do this is, especially if you want to give the user feedback on what they entered (validation, etc.), send them to the process page and use that page to redirect (using headers, or if you must a javascript/meta tag redirect).

2006-08-29 10:52:45 · answer #3 · answered by John J 6 · 0 0

frequently ok. the biggest subject i do in contrast to is that the load-up is basically too disjointed and detracts against a suited first effect. i might choose the 1st subject we see to to be the internet site featuring one among your photos yet this seems to take place because of the fact the 2nd subject after a refresh flash on the show screen. additionally i do no longer see your image interior the white container interior the 'approximately'.

2016-11-06 01:21:55 · answer #4 · answered by ? 4 · 0 0

it sounds like you have a hijacker.
Goto www.ewido.net and run the free version to find and remove it.
Here are some of the other free ones I use.
Spybots search and Destroy http://www.download.com/3000-8022-101221...
adaware se> http://www.download.com/ad-aware-se-pers...
http://www.webroot.com/land/freescan.php...
a-squared Free> http://www.emsisoft.com/en/software/free...
http://housecall.antivirus.com/housecall...
http://housecall65.trendmicro.com/......
X -Cleaner Micro Edition scan http://www.spywareguide.com/onlinescan.p...
http://www.kaspersky.com/virusscanner......
http://www.windowsecurity.com/trojanscan...
http://www.bitdefender.com/scan8/ie.html...
http://www.pandasoftware.com/products/ac...

http://www3.ca.com/securityadvisor/virus...
http://www.javacoolsoftware.com/spywareb...
Spywareguard too.
http://www.javacoolsoftware.com/spywareg...
http://www.ewido.net/en/onlinescan/......

2006-08-29 10:10:21 · answer #5 · answered by Anonymous · 0 1

fedest.com, questions and answers