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

Thread: adding links

  1. #1
    Join Date
    Nov 2003
    Location
    albany
    Posts
    104

    adding links

    Is there a way I can read my address bar and write the link to a file. I think it is great that websites post the code I need but the cut and paste thing gets to be a drag. If I am using my browser I am not editing my site. I need a way to save from the http and com. are maybe the part between the two dots.

  2. #2
    Join Date
    Oct 2003
    Location
    Andover, UK
    Posts
    947
    I didn't understand all of your post. But from the bits I did understand:

    1) JS cannot literally read the URL bar, but it can read the current location (which is normally the same as what is in the URL bar, unless the user changes it for any reason without pressing enter)

    2) To save to a file you need something server-side like PHP. JS can pass data to a server-side script via AJAX, but can't actually do the writing.

  3. #3
    Join Date
    Nov 2003
    Location
    albany
    Posts
    104
    I use asp but maybe I can jus export my fav list someway. Thanks.

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