調皮↙不搗蛋的博客——歡迎光臨

  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 :: 管理 ::

查到了 写在这里 以后自己容易找到

document.getElementById("AttributeQueryResultList").options[document.getElementById("AttributeQueryResultList").selectedIndex].text;

document.getElementById("AttributeQueryResultList").value;

或者通过第一种方式

document.getElementById("AttributeQueryResultList").options[document.getElementById("AttributeQueryResultList").selectedIndex].value;

 

当dropdownlist中只有一个选项时 选择时 会无故假死。。 不解

posted on 2009-01-12 14:46  調皮↙不搗蛋  阅读(1599)  评论(2)    收藏  举报