解决方案 »
- 如何通过js即时在网页中显示用file控件在本地电脑中所选择的图片
- js动态添加标签时怎样添加有动态参数的onclick事件,新手求教??
- 如何用JS去除iframe边框
- 求几个JS的游戏,要单机的。。。
- js 不提交,如何解决(急)
- javascript的执行的优先度的问题。帮忙解决!
- 急急!!!!!取浏览器高度问题??
- 框架结构分上下两块top.htm和bottom.htm,上边有一个下拉菜单,菜单有没有办法伸进bottom.htm?
- htm里面调用一个jsp页。用javaScript 怎么实现。
- 巨大的问题-----一个关于vbs的题目 !
- 框架的点击事件,怎么没反应的??
- jquery easyui-datebox渲染问题
GetAttrValCombo(rowid)
}//动态生成下拉框
function GetAttrValCombo(rowid) {
$.ajax({
type: "post",
async: false,
url: actionURL + "?action=GetAttrValCombo&AttrCode=" + $("#list").getRowData(rowid).AttrCode,
success: function (data) {
if (data != null) {
var jsonobj = eval(data);
var length = jsonobj.length;
str=""
for(var i=0;i<length;i++){
if(i!=length-1){
str+=jsonobj[i].ValCode+":"+jsonobj[i].ValValue+";";
}else{
str+=jsonobj[i].ValCode+":"+jsonobj[i].ValValue;
}
}
$("#list").setColProp('ValValue', { editoptions: { value: str} });
}
}
});
}