tutorial.eyehunts.com
JavaScript trim whitespace | Example code
Use replace() function with a regular expression to remove(trim) all whitespace from string in JavaScript.
Rohit