获取HTML查询的值

function getQueryParams() {
// var typeId = document.getElementById(“strTypeName”).value;
// var strId = document.getElementById(“strShortTypeName”).value;
var bappId = $(“#BMETERSELECTFLAG”).combobox(‘getValues’).toString();
var data = {
org_code: $(‘#org_code’).combotree(“getValue”), // 建设单位
STRMETERTESTTYPE: $(‘#strTypeName’).combobox(‘getValues’).toString(), // 检测类型
STRMETERTESTTYPESHORT: $(‘#strShortTypeName’).combobox(‘getValues’).toString(), // 检测项目
BMETERSELECTFLAG: bappId // 是否挑选
};
return data;
}

猜你喜欢

转载自blog.csdn.net/weixin_48128628/article/details/128972697