javascript thread: converting spaces in a string to ASCII for use in a queryString
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