如何得到下拉框中的值? <select onchange="alert(this.options[this.selectedIndex].value);alert(this.options[this.selectedIndex].text)"> 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 document.formName.listName.options[document.formName.listName.selectedIndex].valuedocument.formName.listName.options[document.formName.listName.selectedIndex].text document.formName.listName.options[document.formName.listName.selectedIndex].value//取得option的valuedocument.formName.listName.options[document.formName.listName.selectedIndex].text//显示在屏幕中的text 可我怎样确定用户选择的选项的selectedIndex呢 用户选择之后,相应的selectedIndex的值就 成为用户选择的对应项的对应int值 急,正则表达式中含有变量怎么办??? 怎样使div层删除后从新排序 好难理解啊.请高手说说怎么回事.闭包的问题 javascript 如何传递页面参数 IE7.0下JS显示上传图片预览的Bug, 请支招! 求一Veryvery good群号,当然多多益善 css下拉菜单问题 增加菜单栏目 求救:我在程序中动态生成若干个select控件,并给每个控件取值select_i(i是变量),我想通过循环取值,结果出了问题! javascript中如何将重复的语句提炼为一个方法进行调用 终于升级到中级用户了,散分啦!!! 高手请进:如何让window.status始终只显示一个指定的信息???
document.formName.listName.options[document.formName.listName.selectedIndex].text
document.formName.listName.options[document.formName.listName.selectedIndex].text//显示在屏幕中的text
成为用户选择的对应项的对应int值