Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Replace %20 ? Re: Replace %20 ?

#91836
Mottie
Member

Try this:

var savedInfo = window.location.search.substring(1);
document.myform.myinput.value = 'Some text ' + decodeURI(savedInfo) + '';