PC Review


Reply
Thread Tools Rate Thread

How to code a submit button to take user to a specific website

 
 
=?Utf-8?B?R2Vvcmdl?=
Guest
Posts: n/a
 
      22nd Dec 2005
I want to supply users with codes. When they enter the code at a specific
website and press SUBMIT, they will be directed to a different website (based
on the code entered). For ex. Code LV001 goes to website www.LV001.com.

Thanks in advance for your help.

George
 
Reply With Quote
 
 
 
 
Jon Spivey
Guest
Posts: n/a
 
      22nd Dec 2005
Hi George,
This probably isn't exactly what you want but it should get you started
<form>
enter code <input type="text" name="code">
<input type="button" value="go to site" onclick="location.href='http://www'
+ this.form.code.value + '.com'">
</form>

--
Cheers,
Jon
Microsoft MVP

"George" <(E-Mail Removed)> wrote in message
news:A41A6405-AAEE-42A6-83CB-(E-Mail Removed)...
>I want to supply users with codes. When they enter the code at a specific
> website and press SUBMIT, they will be directed to a different website
> (based
> on the code entered). For ex. Code LV001 goes to website www.LV001.com.
>
> Thanks in advance for your help.
>
> George



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
code for set up a submit button in a word fom =?Utf-8?B?R2VvbWV0cmE3Ng==?= Microsoft Word New Users 1 15th Jun 2006 09:17 PM
Disable submit button after user click GS Microsoft ASP .NET 8 19th Jan 2006 10:19 PM
View code of Submit button =?Utf-8?B?TmFtaXRh?= Microsoft Access Getting Started 3 6th Jan 2006 02:37 PM
tie validator to a specific submit button ? Mad Scientist Jr Microsoft ASP .NET 2 31st Aug 2004 04:03 PM
run code only when submit button is pressed =?Utf-8?B?R2FyeSBBbWV5ZQ==?= Microsoft Frontpage 2 24th Oct 2003 12:42 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:26 AM.