View Full Version : Javascript offer codes or similar

04-25-2005, 05:03 PM
Hello Everyone, I was wondering if anyone knew of any pre-written code that allows for offer codes, let me explain.

Keeping this simple, Picture a blank page with just a text box field, and two buttons submit, and cancel.

What I want the jscript to do is: Suppose I have three unique codes, each representing the name of one HTML document.

111, 112, 113

When the user types 111 in the text box field -- the users web browser then links to the corosponding 111.html page

Those are the goals I need met with the javascript program.
Does anyone know of something like this, or if im going to have to write it myself, any tips?

Thanks Alot! ;)

04-26-2005, 04:47 AM
This thread should provide a template for what you want: