今天写项目,发现onclick中,$(this)默认绑定的是window对象,而不是当前点击对象。试了一下,onclick中,必须带this,在function内,才能获取当前对象。 原因:在html4中,onclick是全局时间属性。参考:http://www.w3school.com.cn/ta ...
分类:
其他好文 时间:
2017-07-27 23:30:37
阅读次数:
245
jenkins官网 :https://jenkins.io/拉取jenkins Official Jenkins Docker image[root@ip-172-31-16-58 ec2-user]# docker pull jenkins/jenkinsUsing default tag: la... ...
分类:
其他好文 时间:
2017-07-26 17:41:06
阅读次数:
2291
概念 trace 顾名思义追踪信息,可通俗理解为一种高级打印机制,用于debug,实现追踪kernel中函数事件的框架。源代码位于:\kernel\trace\trace.c,有兴趣能够研究 撰写不易,转载需注明出处:http://blog.csdn.net/jscese/article/detai ...
分类:
系统相关 时间:
2017-07-26 11:38:24
阅读次数:
187
这个后台就可以直接用List或者数组接收了 关键就在traditional这个属性 2017-07-25 22:39:08 ...
分类:
编程语言 时间:
2017-07-26 00:12:46
阅读次数:
183
Mybatis、SpringMVC练习 CRM系统 回顾 Springmvc 高级参数绑定 数组 List <input type name=ids /> 多个 方法 (Integer[] ids) QueryVo (里面Integer[] ids) 方法(QueryVo 里面List<Items> ...
分类:
其他好文 时间:
2017-07-23 18:17:16
阅读次数:
1536
Job, Task, and Task Attempt IDs In Hadoop 2, MapReduce job IDs are generated from YARN application IDs that arecreated by the YARN resource manager. T ...
分类:
移动开发 时间:
2017-07-21 19:00:43
阅读次数:
372
$ids = $id - 30; $whe['id'] = array('between',array($ids,$id)); $whe['_string'] = '(post_sortid = "出售") OR (post_sortid = "出租")'; $cx=M('posts')->wher ...
分类:
其他好文 时间:
2017-07-21 10:21:22
阅读次数:
159
转载请注明出处:王亟亟的大牛之路 还在烦躁一大堆findById的控件操作而烦恼么? 平时,我们的那一系列findById是一个“浩大的project”样比例如以下 这是以前一个项目的一个填童虎数据表单的一个Activity,这是一系列的声明 public class UserInfoActivit ...
分类:
移动开发 时间:
2017-07-19 10:37:24
阅读次数:
175
1、CCShaky3D::create(int range。bool shakeZ,const ccGridSize& gridSize,float duration)//创建一个3D晃动的特效 參数1:晃动的范围 參数2:是否有Z轴晃动 參数3:网格大小 參数4:特效持续时间 2、CCShakyT ...
分类:
其他好文 时间:
2017-07-18 23:10:41
阅读次数:
245
主要以OSChina Androidclient源代码中Notice的轮询机制进行解读。 一、基础知识 一般IM(即使通讯)的实现有两种方式:推送和轮询,推送就是server主动向client发送消息,用特定的协议比方XMPP、MQTT。还有一种是轮询,实时性并不高。并且比較耗电。这样的有分为两种情 ...
分类:
其他好文 时间:
2017-07-16 14:24:07
阅读次数:
238