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

Thread: Use JavaScript to fill in username in URL

  1. #1
    Join Date
    Jan 2009
    Posts
    2

    Use JavaScript to fill in username in URL

    Hi,

    I need help getting the username parameter in a href url filled in from a JavaScript pop up.

    For example the user would load the site and a pop up would appear asking them for their username.

    Then that username would fill in the "UN=" in http://test.com/start?UN=USERNAME&PW=1 in a href link.

    Anyone?

  2. #2
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    That's what forms do without using JavaScript.

  3. #3
    Join Date
    Jan 2009
    Posts
    2
    I want to populate several urls in href links at once.

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