给JavaScript的String对象添加一个trim()方法
var s2 = " 叽歪 "; alert(s.trim() + s2);
太阳照常升起
在BlogEngine.NET 中嵌入自定义表格样式
涂鸦表格样式
table.tbDoodles caption { font-size: 1.2em; font-weight: bold; margin: 1em 0; } table.tbDoodles col { border-right: solid 1px #ccc…
var s2 = " 叽歪 "; alert(s.trim() + s2);
table.tbDoodles caption { font-size: 1.2em; font-weight: bold; margin: 1em 0; } table.tbDoodles col { border-right: solid 1px #ccc…