标签:dell ntb ons selected return length last mod col
DropDownList
var objControl = document.getElementById(obj); var objType = $(obj).type; if (objType == "select-one") { return dataModel == undefined ? objControl.options[objControl.selectedIndex].value : objControl.options[objControl.selectedIndex].text; } else { var vValue = ""; for (var i = 0; i < objControl.options.length; i++) { if (objControl.options[i].selected) { vValue += (dataModel == undefined ? objControl.options[i].value : objControl.options[i].text) + "," } } return vValue.DelLastWord(","); }
标签:dell ntb ons selected return length last mod col
原文地址:http://www.cnblogs.com/amylis_chen/p/7909253.html