Connecting Tech Pros Worldwide Help | Site Map

Removing %20's

 
LinkBack Thread Tools Search this Thread
  #1  
Old July 23rd, 2005, 07:52 PM
B3ndy
Guest
 
Posts: n/a
Default 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%20text%20for%20the%20next %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

  #2  
Old July 23rd, 2005, 07:52 PM
Joakim Braun
Guest
 
Posts: n/a
Default Re: Removing %20's

"B3ndy" <bendyer@CANOFSPAMgmail.com> skrev i meddelandet
news:428a42b2$0$11944$db0fefd9@news.zen.co.uk...
<snip>[color=blue]
> Eg: <a href="page.asp?desc=some%20text%20for%20the%20next %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(inString).

--
Joakim Braun


 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.