jQuery.trim()
capital Q?
or $.trim()
Edit (2021): This answer is 11 years old (2010). There are better solutions posted below.
jQuery.trim()
capital Q?
or $.trim()
Edit (2021): This answer is 11 years old (2010). There are better solutions posted below.