摘要:
js1.5以上可以利用toFixed(x) ,可指定数字截取小数点后 x位 for example : //round "original" to two decimals var result=original.toFixed(2); //returns 28.45 // round "origi 阅读全文
摘要:
Anyone who has worked with web apps has likely created a masking element at some point, and the great thing about a masking element is that it interce 阅读全文