tutorial.eyehunts.com
JavaScript replace all spaces | Example code
Use RegEx / /g with replace() method to Javascript replace all spaces. The flag g means global. It causes all matches to be replaced.
Rohit