Removing %20's

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • B3ndy

    #1

    Removing %20's

    Hi,

    Sorry if this is a really basic question but I am a complete novice with
    js...

    Basically I am passing a set of parameters between pages, this is
    working great:

    Eg: <a href="page.asp? desc=some%20tex t%20for%20the%2 0next%20page"

    I am pulling this is nicely into the next page with:

    document.write( qsParm['desc']);

    The problem is its also displaying the %20's which is really annoying,
    any thoughts on how I can get rid of them?

    Cheers!

    Ben
  • Joakim Braun

    #2
    Re: Removing %20's

    "B3ndy" <bendyer@CANOFS PAMgmail.com> skrev i meddelandet
    news:428a42b2$0 $11944$db0fefd9 @news.zen.co.uk ...
    <snip>[color=blue]
    > Eg: <a href="page.asp? desc=some%20tex t%20for%20the%2 0next%20page"
    >
    > I am pulling this is nicely into the next page with:
    >
    > document.write( qsParm['desc']);
    >
    > The problem is its also displaying the %20's which is really annoying,
    > any thoughts on how I can get rid of them?
    >
    > Cheers!
    >
    > Ben[/color]

    unescape(inStri ng).

    --
    Joakim Braun


    Comment

    Working...