Struts1+jsp的jsp中通过bean定义变量来循环比较值
来源:百度文库 编辑:神马文学网 时间:2024/05/16 17:41:52
function Dsy()
{
this.Items = {};
}
Dsy.prototype.add = function(id,iArray)
{
this.Items[id] = iArray;
}
Dsy.prototype.Exists = function(id)
{
if(typeof(this.Items[id]) == "undefined"){
return false;
}else{
return true;
}
}
var dsy = new Dsy();
dsy.add("
dsy.add("