Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: converting spaces in a string to ASCII for use in a queryString


Message #1 by "Richard Salmond" <rsalmond@m...> on Thu, 24 May 2001 12:57:29
replace the spaces with '+' and it should work.

Iain

-----Original Message-----
From: Richard Salmond [mailto:rsalmond@m...]
Sent: 24 May 2001 12:57
To: javascript
Subject: [javascript] converting spaces in a string to ASCII for use in
a queryString


Can anyone tell me how to convert the spaces in a string to ASCII so that 
I can appen the string to a URL?  escape() around the whole thing doesn't 
seemt o work.

Cheers
Richard


  Return to Index