//设置复选框选中
function choseCheckBox(){
var theChoseds = '${basePlace.keyAttribute}';
var strs= new Array();
strs = theChoseds.split(",");
for(i = 0; i < strs.length ; i++){
$("[name = keyAttribute]:checkbox").each(function () {
var theValue = $(this).val();
if(theValue == strs[i]){
$(this).attr("checked", true);
}
})
}
}
function choseCheckBox(){
var theChoseds = '${basePlace.keyAttribute}';
var strs= new Array();
strs = theChoseds.split(",");
for(i = 0; i < strs.length ; i++){
$("[name = keyAttribute]:checkbox").each(function () {
var theValue = $(this).val();
if(theValue == strs[i]){
$(this).attr("checked", true);
}
})
}
}