1
微軟JScript運行時錯誤: 'this.Plugins [...]' 爲空或不是對象XVal中的JScript錯誤,有沒有人看到這個錯誤?
從這個代碼來:
var xVal = xVal || {
Plugins: {},
AttachValidator: function(elementPrefix, rulesConfig, pluginName) {
if (pluginName != null)
this.Plugins[pluginName].AttachValidator(elementPrefix, rulesConfig);
else
for (var key in this.Plugins) {
this.Plugins[key].AttachValidator(elementPrefix, rulesConfig);
return;
}
}
};