
/**
* 根据内容选中下拉列表框的选项
* objSelect 下拉列表框
* strText 选项文本内容
*/
function selectText(objSelect,strText) {
if (strText=="") return;
for(var i=0; i<objSelect.options.length; i++) {
if(objSelect.options[i].text == strText) {
objSelect.options[i].selected = true;
break;
}
}
}


