DropDownListspa
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(","); }
table中增長 行和列的方法
增長最後一行和增長最後一列code
第5行後增長一行和增長第5列後增長一列blog