/*【Observer模式框架】 观察对象仅仅针对表单和表单域*/ /*========================================================================================*/ Abstract.TimedObserver = function() {}//定义了基于定时器的观察模式基类后面的类都继承了这个类 Abstract.TimedObserver.prototype = { this.frequency = frequency;//观察频率 this ...
* 【Ajax模块】 /*========================================================================================*/ //【ajax对象】 var Ajax = {//创建浏览器兼容的XMLHttpRequest对象 return Try.these( function() {return new ActiveXObject('Msxml2.XMLHTTP')}, function() {return new ActiveXObj ...
* Prototype JavaScript framework, version 1.4.0 * (c) 2005 Sam Stephenson <sam@conio.net> * * Prototype is freely distributable under the terms of an MIT-style license. * For details, see the Prototype web site: http://prototype.conio.net/ * 这是一个JavaScript的框架,致力于简化动态 ...
iframe:   父页面调用ifream的方法:   document.frames( "iframename ").functionName(); iframe调用父页的方法:parent.functionName(); 父窗体改变iframe的src.  getElementsByName("iframename").src="xxxx";   以<a href="" target="_blank"></a> ...
dmewy
搜索本博客
存档
最新评论