dcsimg
www.webdeveloper.com
Results 1 to 5 of 5

Thread: [RESOLVED] appending the text value to URL ?

  1. #1
    Join Date
    Jun 2008
    Posts
    33

    resolved [RESOLVED] appending the text value to URL ?

    i have a URL :
    <a href="http://www.hotmail.com/" id="hotmail">click here </a> if it does not redirect automatically

    and a text box with a value:
    <input name="Test" value="Hello" type="text" />

    i am tryingto append the value of the text box behind the URL.
    Below is the redirect script.. need to add behind .. is it possible?

    <script type="text/javascript">
    window.location.href = document.getElementById('hotmail').href; </script>

    so it should look like : http://www.hotmail.com/test=Hello
    Could anyone please help!

  2. #2
    Join Date
    Jul 2008
    Posts
    37
    Why the double post?

  3. #3
    Join Date
    Jun 2008
    Posts
    33
    sorry the earlie wasnt my thread so.. that was just adding to somebody's else thread... you can ignore the other one.

  4. #4
    Join Date
    Jul 2008
    Posts
    37
    I already posted a solution on the other one

  5. #5
    Join Date
    Jun 2008
    Posts
    33
    Thx

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