去除所有空格: str = str.replace(/\s+/g,”"); 去除两头空格: str = str.replace(/^\s+|\s+$/g,”");
Name (required)
Mail (will not be published) (required)
Website
有新的评论请发送邮件通知我