You are here: irt.org | FAQ | JavaScript | Text | Q1140 [ previous next ]
Try:
alert(escape(' '))
If you need anything more elaborate then take a look at the article Creating 'Encoded' Name & Value Pairs.
©2018 Martin Webb