Results 1 to 3 of 3

Thread: Need help!! Please!!

  1. #1
    Join Date
    Jan 2012

    Question Need help!! Please!!

    I hope I am in the right place. I am very new at this scripting stuff, so I am hoping someone can help me out. Here is what I am looking to do, I need to be able to direct a visitor to a specific page on a site depending on what is entered in a box. For example:

    If a visitor enters in a box that they want to see a certain claim, they enter the claim number hit submit and it takes them to www.examplesite.com/claimnumber

    Does this make sense?

  2. #2
    Join Date
    Nov 2003
    Worthington, OH, USA
    One way:

    <script type="text/javascript">
    function reDirect() {
    	document.location = "http://www.examplesite.com/"+document.getElementById("loc").value;
    	<form action="javascript:reDirect();">
    		Enter Claim: <input type="text" id="loc" />
    		<input type="submit" />
    54 68 65 42 65 61 72 4D 61 79

  3. #3
    Join Date
    Jan 2012

    resolved Thank you!!

    That worked perfectly!!! My boss is going to be extremely happy!! Thank you so much!!!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center

Recent Articles