内容 |
窗体事件绑定 document.onmousedown=scrollwindow; 元素 document.窗体.elements[索引] 对象绑定事件 document.all.xxx.detachevent('onclick',a); 插件数目 navigator.plugins 取变量类型 typeof($js_libpath) == undefined 下拉框 下拉框.options[索引] 下拉框.options.length 查找对象 document.getelementsbyname(r1); document.getelementbyid(id); 定时 timer=setinterval('scrollwindow()',delay); clearinterval(timer); uncode编码 escape() ,unescape 父对象 obj.parentelement(dhtml) obj.parentnode(dom) 交换表的行 tableid.moverow(2,1) 替换css document.all.csss.href = a.css; 并排显示 display:inline 隐藏焦点 hidefocus=true 根据宽度换行 style=word-break:break-all 自动刷新 <meta http-equiv=refresh content=8;url=http://www.forasp.cn> 简单邮件 <a href=mailto:aaa@bbb.com?subject=ccc&body=xxxyyy> 快速转到位置 obj.scrollintoview(true) 锚 <a name=first> <a href=#first>anchors</a>
|