text box Java Link

J

Joe

I would like to make an entry text box on the shared left
border of my site that allows my customers to enter in a
specific code I give them. When they enter in the 6 digit
code, they immediately go to the specific page that I
made for them. Only by submitting the code can they see
the information on the page I made for them.

How do I make this text box and this button that will
link to the page that I made for a specific code?

I tried the Java Code below, but I could not get it to
work:
<form>
<input type="text" name="page" >
<input type="submit" onclick="window.location =
this.form.page.value +
'.htm'; " >
</form>

I inserted the html above, and I enter in the code to go
to the page I want, but I always stay at the same page,
and the address bar say,
"file:///C:/Documents%20and%20Settings/Owner/My%
20Documents/My%20Webs/buttom_link.htm?page=1234567"
I need to make some modifications to the code, but I
don't know what to do, and the stuff I have tried doesn't
work. Please help.
I want the code to take me to a location that is under a
subweb folder.
start: http://www.sulleri.com/button_link.htm
enter in code ==> 1234567
finish: http://www.sulleri.com/retailers/1234567.htm
Thanks
Joe
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top