摘要: var Order = { onerror : null, showError: function(){ if(this.onerror){ this.onerror("E0008","Order对象未空"); } } } Order.onerror = function(errorCode,errorMsg){ alert("Code:"+errorCode+",Msg:"+errorMsg); } Order.showError(); 阅读全文
posted @ 2013-03-16 11:59 玻璃鱼儿 阅读(186) 评论(0) 推荐(0) 编辑