回调函数定义
FunName: function (callback, scope) {
*处理程序代码 *
if (callback != undefined) //回调
callback.call(scope, true, AValue);
}
调用:
this.FunName(function (AOK,AValue) {
}, this);
回调函数定义
FunName: function (callback, scope) {
*处理程序代码 *
if (callback != undefined) //回调
callback.call(scope, true, AValue);
}
调用:
this.FunName(function (AOK,AValue) {
}, this);