Need to write URL to HTML but it loses query string symbols...

Need to write URL to HTML but it loses query string symbols...


 I am using this in a java script block to write code to a page (for use as a new XML set:

      html +=    '        <segurl>' + vurl + '</segurl>';                                                                                                     

  But the printed URL var is deleting all needed characters in the string, leaving this:

      http://www.bctest.com/fullplayer.aspx#/ Show 70: New Hospitals Are Needed/BCTEST 04.10.11 - [1] New Featured Story/608459720001/898494604001/895805715001

   It is losing all the + signs and %'s, etc.

   How do I write this out to ensure the link translates exactly?











    • Topic Participants

    • jlfx