2020年6月19日

Ztree中去掉节点前面的+-图标

摘要: 在css中添加:.ztree li span.button.switch.level0 {display:none;} 官方文档:http://www.treejs.cn/v3/api.php 阅读全文

posted @ 2020-06-19 15:14 胜者为王东恺 阅读(935) 评论(0) 推荐(0) 编辑

判断字符串是不是以某个字符串开头

摘要: String.startsWith(String prefix) 例: String str1 = "abcdefg"; str1.startsWith("a");//true 阅读全文

posted @ 2020-06-19 15:09 胜者为王东恺 阅读(366) 评论(0) 推荐(0) 编辑

jQuery 页面加载完成时执行

摘要: 1. $(document).ready(function (){ });2. $(function(){ });3. window.onload = function(){ }; 阅读全文

posted @ 2020-06-19 14:58 胜者为王东恺 阅读(156) 评论(0) 推荐(0) 编辑

eclips设置工作空间编码字符集

摘要: 打开Window->Preferences,选择General->Workspace 下面的Text file encoding ,勾选Other,选择字符集,保存退出。 阅读全文

posted @ 2020-06-19 14:47 胜者为王东恺 阅读(109) 评论(0) 推荐(0) 编辑

导航