当前位置: 代码迷 >> ASP.NET >> 小弟我在TABLE中放了一个dropdown控件,要是想用js取到他选中的值该如何获取
  详细解决方案

小弟我在TABLE中放了一个dropdown控件,要是想用js取到他选中的值该如何获取

热度:7631   发布时间:2013-02-25 00:00:00.0
我在TABLE中放了一个dropdown控件,要是想用js取到他选中的值该怎么获取

if(objCheckbox.checked)
{
oRow   =   oTable.insertRow(oTable.rows.length);
var   thisTD=oRow.insertCell();
thisTD.innerHTML=objCheckbox.value;

thisTD=oRow.insertCell();
thisTD.innerHTML= " <SELECT> <option> 或 </option> <option> 与 </option> </select> ";


}
我的dropdown控件是这么加进去的,该怎么实现,

------解决方案--------------------------------------------------------
不搞个id?
  相关解决方案