I'm using jquery and now I need to remove spaces in the string retrieved as a parameter (file name).. For instance:
I have: '/var/www/site/Brand new document.docx'
I would like to get: '/var/www/site/Brandnewdocument.docx'
Someone knows how to solve this? I tryied replace method but it didn't work :(
Thank you guys.