Triminer l'espace à jQuery
var str = " Hello World! ";
alert(str.trim());
Unusual Unicorn
var str = " Hello World! ";
alert(str.trim());