contentDocument是获得iframe子窗口的document对象,但兼容ff和ie8+contentWindow是获得子窗口的window对象,兼容大部分浏览器,contentWindow.document才是获得document对象所以获得iframe内容时一般兼容性写法是这样的
(i...
在对URL进行编码时,该用哪一个?这两都使用上有什么区别吗?测试:string
file="文件上(传)篇.doc";string Server_UrlEncode=Server.UrlEncode(file);string
Server_UrlDecode=Server.UrlDecode(Ser...
分类:
其他好文 时间:
2014-05-23 12:10:00
阅读次数:
319
原文:http://grails.org/doc/2.3.x/ref/Domain%20Classes/list.htmllistPurposeLists
instances of the domain class.Examples// list everythingdef results = Bo...
分类:
数据库 时间:
2014-05-23 11:42:42
阅读次数:
661
http://www.ablanxue.com/prone_2866_1.htmlwindow.parent.onscroll
= window.parent.onresize = window.onload =function () { var oFix_box = doc...
分类:
Web程序 时间:
2014-05-20 07:52:20
阅读次数:
448
var db:NotesDatabase=session.getCurrentDatabase();
var doc:NotesDocument=db.getDocumentByUNID('80E2193C517E9B3A872578D90018D92E');
var valString:String = "";
if (doc.hasItem('BWImage')){
var nrt:Note...
分类:
其他好文 时间:
2014-05-18 06:26:33
阅读次数:
267
http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.html前提:开启TOMCAT,MYsqlMySQL
DBCP Example0. IntroductionVersions of MySQL and JDB...
分类:
数据库 时间:
2014-05-15 20:56:04
阅读次数:
550
第一步:在网络邻居中找到宽带连接(具体方法:右键单击网上邻居找到属性后单击左键进入属性)然后找到“宽带连接”右键单击宽带连接的属性,打开属性 然后:“选项”→将“提示名称、密码和证书等”前面的勾去掉→单击“确定”!(见图)
第二部:将桌面上的宽带连接(如果没有就去网上邻居中的创建一个)剪切到“C:\Documents and Settings\Administrator\「开始」菜单\程序\启动...
分类:
其他好文 时间:
2014-05-14 20:36:10
阅读次数:
222
//doc_anonymous_mutex_shared_data.hpp#include
struct shared_memory_log{ enum { NumItems = 100 }; enum { LineSize = 100 };
shared_memory_log()...
分类:
其他好文 时间:
2014-05-14 10:38:00
阅读次数:
343
本篇介绍在linux主机上安装nagios,监控本机。实验环境:rhel5.6、nagios-3.2.3.tar.gz、nagios-plugins-1.4.15.tar.gz实验过程:本实验有个小捷径,就是先安装apache,然后解压nagios,将解压出的dosc文档拷贝到/var/www/html下,然后通过linux浏览器访问http://localhost/doc..
分类:
移动开发 时间:
2014-05-13 12:46:38
阅读次数:
385