您的位置:首页 > 移动开发 > Objective-C

Operate the HTML's select object

2011-10-23 10:44 369 查看
var select = document.getElementById("selectID");

var optionValue = select.options[select.selectedIndex].value;

var optionText = select.options[select.selectedIndex].text;
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  html object