www.webdeveloper.com
Results 1 to 2 of 2

Thread: help needed with bookmarking script

  1. #1
    Join Date
    Aug 2006
    Posts
    301

    Question help needed with bookmarking script

    hi guys,

    i'm creating a bookmarking script that allows my website visitors to bookmark a special link that executes some javascript code that detects the title(document.title) and url(window.location) of the site they are viewing then redirects them to a pre-filled form with those two items that they can edit and submit for approval.

    however the problem i'm having is that if the url has extra parameters some are getting lost....

    Code:
    http://www.example.com/?a=1&b=2
    gets chopped down to...

    Code:
    http://www.example.com/?a=1
    is there a javascript function that can encode the url so nothing gets lost on the way over?

    also what should i use to encode the title if has special characters like ellipses(...), pipes(|), etc?

    thanks guys,
    Michael.
    Last edited by bsmbahamas; 02-20-2009 at 08:14 AM.

  2. #2
    Join Date
    Feb 2009
    Posts
    36
    you can send data from a page to another using anchors and coding data in base64.

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