J
James Howe
I'm working on a web application which needs to submit information to the
server via a URL string. The URL can contain values retrieved from form
input fields. I'm using the escape function to preprocess values from
input fields, but I have a problem when the input field contains a '+'
(plus sign). Since the escaped value gets put into a URL, the server
doesn't see the '+', but rather a blank. Is there any other javascript
function which will automatically escape a '+' in addition to the other
characters that it already escapes?
Thanks.
server via a URL string. The URL can contain values retrieved from form
input fields. I'm using the escape function to preprocess values from
input fields, but I have a problem when the input field contains a '+'
(plus sign). Since the escaped value gets put into a URL, the server
doesn't see the '+', but rather a blank. Is there any other javascript
function which will automatically escape a '+' in addition to the other
characters that it already escapes?
Thanks.