JS
文章平均质量分 81
爱做梦的猫
一只爱做梦的小猫咪
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
js实现文本框自动显示两位小数
1.js: //保留2位小数,如:2,会在2后面补上00.即2.00 function toDecimal2(x) { var f = parseFloat(x); if (isNaN(f)) { return false; } var f = Math.round(x * 100) / 100; var s = f.toString()...原创 2018-07-29 13:44:55 · 1664 阅读 · 0 评论 -
template.js使用
1.JS <script src="~/Content/plugin/template/template.js"></script> <script type="text/template" id="template_ship"> <tr onclick="showMeas('{{cartonId}}')&q原创 2018-07-29 14:18:22 · 715 阅读 · 0 评论 -
js 拖拽
1.js <script src="~/Content/js/jquery-ui.min.js"></script> <script src="~/Content/js/tableHeadFixer.js"></script> <script> //layer.tips('@lblDrag',原创 2018-07-29 14:26:16 · 249 阅读 · 0 评论 -
js及后台代码多语言处理
1.js /*! * js 帮助工具,主要是对一些常用方法的第二次封装 * Create Date: 2015-06-16 22:57 */ Date.prototype.Format = function (fmt) { var o = { "M+": this.getMonth() + 1, "d+": this.getDate(), ...原创 2018-07-29 15:02:57 · 820 阅读 · 0 评论
分享