How can I replace Space with %20 in javascript? - Stack Overflow

PHOTO EMBED

Wed Dec 08 2021 12:54:48 GMT+0000 (UTC)

Saved by @arielvol #javascript

sParameter = encodeURIComponent(sParameter.trim()) //"Test%20-%20Text"
content_copyCOPY

https://stackoverflow.com/questions/12141251/how-can-i-replace-space-with-20-in-javascript