1.添加事件》基本注册方式click me!var span = document.getElementById('info');span.onclick = function(){ alert(1);}var span = document.getElementById('info');span....
分类:
编程语言 时间:
2014-09-11 19:19:12
阅读次数:
174
alert("location:"+window.location);alert("href: "+window.location.href);alert("protocol: "+window.location.protocol);alert("host&port: "+window.locati...
分类:
Web程序 时间:
2014-09-11 18:47:52
阅读次数:
194
第一类:第二类:用STYLE标签引用其他网站上的css文件css文件里包含跨站程序body{background-image:url('javascript:alert();');}第三类:第四类:鼠标进入本区域执行Javascript鼠标离开本区域执行Javascript鼠标在选区滚轮时执行J.....
分类:
编程语言 时间:
2014-09-11 17:00:42
阅读次数:
234
验证手机号 13,159,153开头的手机 function check(obj){ if(obj.value.length==0){ alert("请输入手机号"); obj.focus(); return false; } if(obj.value.length<11){ ...
分类:
移动开发 时间:
2014-09-11 16:40:22
阅读次数:
148
zabbix是个非常强大的监控工具,可以监控linux和windows的服务器数据,也可以通过自定义key来扩展默认的监控项,但是自带的邮件报警提供的信息却不太友善。本文想通过自定脚本的方式,实现在报警邮件的同时发送对应的图像和url连接。步骤如下:创建一个脚本媒体报警:修改zabbix..
分类:
编程语言 时间:
2014-09-11 15:32:38
阅读次数:
414
(1)
let types: UIUserNotificationType = UIUserNotificationType.Alert | UIUserNotificationType.Badge
let mySettings: UIUserNotificationSettings = UIUserNotificationSettings(forTypes: types, ca...
分类:
移动开发 时间:
2014-09-11 15:27:42
阅读次数:
249
function $$(f) { if (typeof f == 'function') {//f是一个函数 f(); } else { alert('not a function'); } } ...
分类:
编程语言 时间:
2014-09-11 13:51:41
阅读次数:
190
今天在巡检alert日志的时候,发现如下报错:
pct of memory swapped in [7.16%] pct of memory swapped out [0.56%].
Please make sure there is no memory pressure and the SGA and PGA
are configured correctly. Look at DBRM...
分类:
移动开发 时间:
2014-09-11 12:37:41
阅读次数:
776
一个客户的RAC节点硬件发生了变动,重启后数据库实例无法启动,远程登陆查看ALERT日志发现大量报错:
Writing to the above trace file is disabled for now on...
Errors in file /oracle/app/diag/rdbms/XXXX/XXXX2/trace/XXXX2_ora_184464.trc:
ORA-00600:...
分类:
数据库 时间:
2014-09-10 22:32:51
阅读次数:
250
一、基本类型和引用类型的值 引用类型的值:可能由多个值构成的对象。 对于引用类型的值,我们可以添加、改变、删除属性和方法。 var person = new Object(); person.name = "Nicholas"; alert(person.name); ...
分类:
编程语言 时间:
2014-09-10 20:55:11
阅读次数:
200