鼠标事件是在用户移动鼠标光标或者使用任意鼠标键点击时触发的。 (1):click事件:click事件于用户在元素敲击鼠标左键,并在相同元素上松开左键时触发。 $('p').click(function(){ alert('click function is running !'); }); (2):...
分类:
Web程序 时间:
2015-08-12 18:25:54
阅读次数:
115
最近打开Eclipse的时候,总是发生这样的一个错误:"Running Android Lint has encountered a problem"。截图如下:
。
但是Eclipse可以正常运行程序,不会造成其他影响。但是每次打开Eclipse时,总是看到这个警告,心情会很不爽,具体解决方案如下:
(1)打开Preferences,在Windows下面应该在WIndow-->Pr...
分类:
移动开发 时间:
2015-08-12 13:18:04
阅读次数:
155
打包时报如下错误:Export aborted because fatal lint errors were found. These are listed in the Lint View. Either fix these before running Export again,or turn ...
分类:
移动开发 时间:
2015-08-12 00:56:38
阅读次数:
206
生产环境:操作系统:CentOS6.7Webmin:webmin-1.730生产任务:升级webmin到1.760版本[root@sky9896skyboy]#rpm-uhwebmin-1.760-1.noarch.rpm-uh:未知的选项[root@sky9896skyboy]#rpm-Uvhwebmin-1.760-1.noarch.rpmPreparing...###########################################[100..
分类:
Web程序 时间:
2015-08-11 19:06:39
阅读次数:
154
Export aborted because fatal Lin error were founds. These are listed in the
problems view. Either fix these before running Export Again, or turn off "Run
full error check when exporting app" in the An...
分类:
其他好文 时间:
2015-08-11 14:17:35
阅读次数:
156
/etc/init.d/mysql status提示ERROR! MySQL is running but PID file could not be found先打印MYSQL进程ps aux | grep mysql然后KILL进程kill -9 pid1 pid2 …再启动MYSQL/etc/...
分类:
数据库 时间:
2015-08-09 16:46:45
阅读次数:
127
启动Wireshark软件时出现了如下图所示的错误,就搜索了一下解决方法,特总结如下: 这个错误是因为没有开启NPF服务造成的。简要说一下NPF吧。 NPF即网络数据包过滤器(Netgroup Packet Filter,NPF)是Winpcap的核心部分,它是Winpcap完成困难工作的组件...
分类:
其他好文 时间:
2015-08-09 00:16:12
阅读次数:
149
子树操作, dfs序即可.然后计算using namespace std;#define M(l, r) (((l) + (r)) >> 1)const int maxn = 200009;typedef long long ll;inline ll readll() { char c = getc...
分类:
其他好文 时间:
2015-08-07 23:43:53
阅读次数:
211
1、Unable to run app in Simulator
An error was encountered while running (Domain = FBSOpenApplicationErrorDomain, Code = 4)
出现上述问题的时候:
iOS Simulator -> Reset Contents and Settings... -> Reset...
分类:
移动开发 时间:
2015-08-07 11:14:27
阅读次数:
217
今天上班后,打开虚拟机准备启动操作系统,进行开发工作,不幸的是不能正常启动了,提示信息如下: VMware Workstation cannot connect to the virtual machine. Make sure you have rights to run the program, access all directories the program uses, and acc...
分类:
系统相关 时间:
2015-08-07 09:40:12
阅读次数:
226