Q:

trim data in jquery


 var str = "       Hello World!        ";
alert(str.trim());
 
2

New to Communities?

Join the community