www.webdeveloper.com
Results 1 to 4 of 4

Thread: How to access the url bar?

  1. #1
    Join Date
    Jul 2010
    Posts
    2

    How to access the url bar?

    Hi,
    I am quite new to javascript. I tried searching for this question, couldn't find it.
    I want to access my url bar by running the script so that i can type a new url at runtime. How do i access it and change it. I don't want to move to a new url until and unless user hits the enter key. I only want to type it.

    Is it possible?

    Thanks.

  2. #2
    Join Date
    Aug 2007
    Posts
    3,767
    Only change the text but not follow the link? As far as I know, that's impossible.
    Great wit and madness are near allied, and fine a line their bounds divide.

  3. #3
    Join Date
    Jul 2010
    Posts
    2
    ok. can i press keys to press shortcut ctrl+L (in FF) to goto url tab instead then?

  4. #4
    Join Date
    Aug 2007
    Posts
    3,767
    I know of no way to do so, following shortcuts etc. You can change it, but the link will be followed. MDC on window.location.
    Great wit and madness are near allied, and fine a line their bounds divide.

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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