摘要: 原文出处https://www.cnblogs.com/tylerdonet/archive/2013/04/05/3000618.html jQuery 遍历函数包括了用于筛选、查找和串联元素的方法 var arr=[1,2,3,4]; $.each(arr,function(){ alert(t 阅读全文
posted @ 2017-12-08 12:02 一只爱study的girl 阅读(585) 评论(0) 推荐(0) 编辑
摘要: 拼接id 接口ip:120.12.3.7;120.12.3.10;120.12.3.90; var num=data.ip.split(".")[3]; div#tab1;div#tab2 拼接后的 $('#tab'+num) 阅读全文
posted @ 2017-12-08 11:45 一只爱study的girl 阅读(1035) 评论(0) 推荐(0) 编辑
摘要: 取消默认刷新功能 阅读全文
posted @ 2017-12-07 11:00 一只爱study的girl 阅读(3084) 评论(2) 推荐(1) 编辑
摘要: 公司让写一个比较简单的又比较好看的说明文档页面。然后我就想用tab切换结合bootstrap来写。 这是我转载别人的代码 代码: <!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html; charse 阅读全文
posted @ 2017-12-04 05:05 一只爱study的girl 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 普通表格 阅读全文
posted @ 2017-11-29 10:17 一只爱study的girl 阅读(175) 评论(0) 推荐(0) 编辑
摘要: 获取最顶级节点 阅读全文
posted @ 2017-11-22 09:48 一只爱study的girl 阅读(290) 评论(0) 推荐(0) 编辑
摘要: 公司需要操作最外的节点 阅读全文
posted @ 2017-11-20 19:10 一只爱study的girl 阅读(3764) 评论(2) 推荐(1) 编辑
摘要: ztree实现点击更新 阅读全文
posted @ 2017-11-20 11:55 一只爱study的girl 阅读(1188) 评论(0) 推荐(0) 编辑
摘要: ztree右键收藏功能 阅读全文
posted @ 2017-11-20 11:40 一只爱study的girl 阅读(199) 评论(0) 推荐(0) 编辑
摘要: jsx语法允许html和js混写。即html可以直接写在js; jsx语法中遇到html标签(<开头),就以html规则解析;遇到代码块({开头),就用js规则解析。 jsx允许在模板中插入js变量,如果变量是一个数组,则会展开数组中的成员 阅读全文
posted @ 2017-11-08 10:14 一只爱study的girl 阅读(126) 评论(0) 推荐(0) 编辑