选择指定好友
hello gd dfs <script type="text/javascript"> function ddlclick() { var ddlObj=document .getElementById ("ddlFriendList"); alert (ddlObj .value) alert (ddlObj .options[ddlObj .selectedIndex].innerHTML)// firefox可用,ie 可用 alert (ddlObj .options[ddlObj .selectedIndex].innerText)// firefox不可用,ie 可用 } </script>
hello gd dfs <script type="text/javascript"> function ddlclick() { var ddlObj=document .getElementById ("ddlFriendList"); alert (ddlObj .value) alert (ddlObj .options[ddlObj .selectedIndex].innerHTML)// firefox可用,ie 可用 alert (ddlObj .options[ddlObj .selectedIndex].innerText)// firefox不可用,ie 可用 } </script>