![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
javascript
文章平均质量分 58
Thinking_In_IT
IT工程狮 trouble_killer 软件特种兵
展开
-
javascript 键盘键码表
键码0 =键码1 =键码2 =键码3 =按键代码4 =键码5 =键码6 =键码7 =退格键退格键码8 =键码9 =选项卡标签键码10 =键码11 =键码12 =清除键码13 =输入键码14 =键码15 =键码16 = Shift_L键码17 = Control_L键码18 = Alt_L键码19 =暂停键码20 = Caps_Lock键码21 =键码22 =键码23 =键码24 =原创 2010-06-02 09:55:00 · 598 阅读 · 0 评论 -
js日期操作
Date.prototype.Format = function(fmt) { // author: meizz var o = { "M+" : this.getMonth() + 1, // 月份 "d+" : this.getDate(), // 日 "h+" : this.getHours(),原创 2016-02-02 13:31:01 · 445 阅读 · 1 评论 -
javascript fomart数字金额 加千分符
<!-- var s=76512345.67; function fmoney(s) { n = 2; s = Number((s + "").replace(/[^\d\.-]/g, "")).toFixed(n) + ""; var l = s.split(".")[0].split("").reverse(), r = s.split(".")[1];原创 2016-03-07 11:50:26 · 782 阅读 · 0 评论