js
文章平均质量分 69
猫哥
这个作者很懒,什么都没留下…
展开
-
js 金钱格式转化
Number.prototype.formatMoney = function (places, symbol, thousand, decimal) { places = !isNaN(places = Math.abs(places)) ? places : 2; symbol = symbol !== undefined ? symbol : "¥"; thousan转载 2015-05-25 20:32:04 · 2156 阅读 · 0 评论 -
异步ztree展现struts2后台数据集
晚上有时间 写下项目里用过的 开源JS 树ZTREE (官网传送们 http://www.ztree.me/v3/main.php#_zTreeInfo),js插件自己去官网下吧。 1.实现要求 后台使用JAVA代码 (struts2 )查表数据 然后转用API转成JSON数组。 2.前台JSP页面用ztree3.5 构建菜单树 ,点击单个节点 替换iframe 切换页面。 代码: 页面部原创 2015-09-07 00:41:44 · 543 阅读 · 0 评论