摘要: $(document).ready(function(){$("#btn").click(function(k) {//...var j = $("form").serializeArray();//序列化name/value$.ajax({type: 'GET', //这里用GETurl: 'aj... 阅读全文
posted @ 2015-06-02 10:00 王会 阅读(141) 评论(0) 推荐(0) 编辑
摘要: $(function(){ var module1 = (function(){ var _count = 0; var m1 = function(){ alert('m1') }; var m2 = function(){ alert('m2'); ... 阅读全文
posted @ 2015-05-30 11:52 王会 阅读(177) 评论(0) 推荐(0) 编辑
摘要: create table java (name varchar(255));insert into java values ('java1'),('java2'),('blue'); create table mysql (name varchar(255));insert into mysql v... 阅读全文
posted @ 2015-05-29 08:54 王会 阅读(198) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/q1ng/p/4529483.html 阅读全文
posted @ 2015-05-27 08:51 王会 阅读(73) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/John727/p/4500095.html 阅读全文
posted @ 2015-05-27 08:44 王会 阅读(189) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/zeroone/archive/2010/05/05/1727659.html 阅读全文
posted @ 2015-05-26 16:26 王会 阅读(90) 评论(0) 推荐(0) 编辑
摘要: //header("Content-Type: text/html;charset=utf-8");//输出不乱码,你懂的// 红包逻辑$total=10;//红包总额$num=8;// 分成8个红包,支持8人随机领取$min=0.01;//每个人最少能收到0.01元for ($i=1;$i';}e... 阅读全文
posted @ 2015-05-26 16:22 王会 阅读(136) 评论(0) 推荐(0) 编辑
摘要: function gethotsu($type=1){ $model = D('Plh_click'); $addtime = date('Y-m-d',time()); //$mounthname = MONTHNAME if($type==1){ $sql = "SELECT cl.... 阅读全文
posted @ 2015-05-26 16:11 王会 阅读(202) 评论(0) 推荐(0) 编辑