获取artDialog对话框document
1、$(dialogHandler.content()).find("iframe").contents();
2、art.dialog.open.origin,获取对话框源窗口window
《Dom Scripting》读书笔记 Canca 最近看了一本《Jeremy Keith: DOM Scripting, Web design with JavaScript and the DOM. Apr…
// 人的基類var Person=new ( function(){ var sex; var name; this.getSex=function() &nbs…
1>获取控件用document.getElementById,不用document.all(FF等浏览器不支持)2><button> 会被firefox解释为提交form或者刷新页面,需要写标准<button type="button">3>使用childN…
基本方法:attachEvent(IE)/detachEvent;addEventListener( Mozilla, Netscape, Firefox)/removeEventListener在之前的邏輯判斷式的基礎上,在設計javascript的時候,可以針對瀏覽器的不同,寫出適合不同種類瀏覽…
1>逻辑表达式 看例子: var cc; var dd=new Object(); var false1="false…
1.document.formName.item("itemName") 问题说明:IE下,可以使用document.formName.item("itemName")或document.formName.elements["elementName"];Firefox下,只能使用docum…