|
【swans】: function get_area_Result_CallBack(response) { if (response.value != null) { document.all("DropDownList3").length=0; var ds = response.value; if(ds != null && typeof(ds) == "object" && ds.Tables != null) { for(var i=0; i<ds.Tables[0].Rows.length; i++) { var name=ds.Tables[0].Rows .area; var id=ds.Tables[0].Rows .areaID; document.all("DropDownList3").options.add(new Option(name,id)); } } } return } 【Michelle_Z】: 谢谢cansum396(沉觉不醒):返回的DataTable应该就是XML格式的数据了吧...
|