会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Samuel-Leung
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
9
10
11
12
13
14
15
16
17
···
24
下一页
2019年10月11日
jQuery中遍历数组的一种方法$.inArray()
摘要: $.inArray()函数用于在数组中搜索指定的值,并返回其索引值。如果数组中不存在该值,则返回-1; $.inArray(value,array) --value是要查找的值,array是被查找的数组。 代码1: 上面这段代码不仔细分析怎么看都没有错,但是返回值是-1。下面来分析下原因发现: 错误
阅读全文
posted @ 2019-10-11 14:46 Samuel-Leung
阅读(219)
评论(0)
推荐(0)
2019年9月27日
Python运算符优先级表格
摘要: Python中运算符的优先级 从上到下对应的从高到低
阅读全文
posted @ 2019-09-27 14:56 Samuel-Leung
阅读(423)
评论(0)
推荐(0)
2019年9月5日
jquery判断表单值是否改变
摘要: 1.在表单加载(初始化)就把表单序列化成json格式数据 2 提交表单前 校验下 值是否被修改过
阅读全文
posted @ 2019-09-05 15:28 Samuel-Leung
阅读(1501)
评论(0)
推荐(0)
json.stringify()的妙用,json.stringify()与json.parse()的区别
摘要: 参考:https://www.cnblogs.com/echolun/p/9631836.html
阅读全文
posted @ 2019-09-05 10:47 Samuel-Leung
阅读(161)
评论(0)
推荐(0)
2019年9月4日
jQuery重置form表单方式
摘要: $('#myform').reset() 这样是错误的 JQuery中没有reset方法需要转成dom 再用reset方法即 $('#myform')[0].reset()
阅读全文
posted @ 2019-09-04 16:46 Samuel-Leung
阅读(4924)
评论(0)
推荐(0)
2019年8月28日
python数据库操作之pymysql模块和sqlalchemy模块(项目必备)
摘要: 参考:https://www.cnblogs.com/aylin/p/5770888.html
阅读全文
posted @ 2019-08-28 23:30 Samuel-Leung
阅读(318)
评论(0)
推荐(0)
2019年8月26日
js清空table的tbody中的数据
摘要: 1、HTML结构 2、jquery代码
阅读全文
posted @ 2019-08-26 14:58 Samuel-Leung
阅读(12349)
评论(2)
推荐(0)
2019年8月22日
div 自适应浏览器高度方式
摘要: *{ margin: 0; padding: 0; } html, body{ width: 100%; height: 100%; } div{ position: absolute; top: 0; left: 0; width: 100%; min-height: 100%; height: auto; ...
阅读全文
posted @ 2019-08-22 14:00 Samuel-Leung
阅读(1085)
评论(0)
推荐(0)
2019年8月21日
Mybatis 中if else的写法以及oracle中 递归sql写法
摘要: <select id="listHisTeam" parameterType="hashmap" resultType="hashmap"> SELECT t1.PK_TEAM_CHANGE_ID, t1.TEAM_CNPC_NAME, t1.PASS_DATE, t1.VALIDITY_DATE, t1.PASS_FILE, t1.REQBOOK_ATTR, code1.CODING_NAME
阅读全文
posted @ 2019-08-21 14:14 Samuel-Leung
阅读(777)
评论(0)
推荐(0)
2019年8月19日
oracle中的递归查询
摘要: oracle递归查询Oracle中start by prior子句用法connect by 是结构化查询中用到的,其基本语法是:select ... from tablename start with 条件1connect by 条件2where 条件3;例:select * from tables
阅读全文
posted @ 2019-08-19 15:50 Samuel-Leung
阅读(1700)
评论(0)
推荐(0)
上一页
1
···
9
10
11
12
13
14
15
16
17
···
24
下一页
公告