摘要: 1、事务开启提交: begin; insert into table values(1, 'one', 'two'); commit; 2、事务开启回滚: begin; insert into table values(1, 'one', 'two'); rollback; 3、事务保存点: beg 阅读全文
posted @ 2020-08-31 23:18 Fmaj-7 阅读(91) 评论(0) 推荐(0)
摘要: redis命令官方地址:http://doc.redisfans.com/ 阅读全文
posted @ 2020-08-31 14:35 Fmaj-7 阅读(122) 评论(0) 推荐(0)
摘要: var total = parseInt(count)*parseFloat(price);//保留两位小数total.Fixed(2) 阅读全文
posted @ 2020-08-31 10:16 Fmaj-7 阅读(450) 评论(0) 推荐(0)
摘要: $('.num').blur(function () { count = $(this).val() // 校验 if (isNaN(count)){ count = 1 } 数字返回false,否则返回true 阅读全文
posted @ 2020-08-31 09:31 Fmaj-7 阅读(107) 评论(0) 推荐(0)
摘要: jQuery blur() 方法 jQuery 事件方法 实例 添加函数到 blur 事件。当 <input> 字段失去焦点时发生 blur 事件: $("input").blur(function(){ alert("输入框失去了焦点");}); 尝试一下 » 定义和用法 当元素失去焦点时发生 b 阅读全文
posted @ 2020-08-31 09:27 Fmaj-7 阅读(154) 评论(0) 推荐(0)