JS/CSS实现字符串单词首字母大写功能
css实现:text-transform:capitalize;JS代码一:String.prototype.firstUpperCase=function(){returnthis.replace(/\b(\w
探索与 字符串单词首字母大写 相关的精彩内容
css实现:text-transform:capitalize;JS代码一:String.prototype.firstUpperCase=function(){returnthis.replace(/\b(\w