07 2014 档案
摘要:最近在编写一个js库采用的是面向对象的思想来进行编写,因此在js继承上有了一定的问题js继承有几种继承方式,分别为原型继承,类似继承,混合继承。原型继承: var child = function(){} var parent = function(){}child.prototype=new p...
阅读全文
摘要:Ns.UI.AjaxForm = function () { Ns.UI.Control.apply(this, arguments); this.onError = null; this.onSuccess = null; this.onBeforSend = null; this.onCompl...
阅读全文
摘要:Ns.UI.AjaxForm = function () { Ns.UI.Control.apply(this, arguments);//属于继承 this.onError = null; this.onSuccess = null; this.onBeforSend = ...
阅读全文

浙公网安备 33010602011771号