一个头疼的问题,多谢多谢. 问题出在var a = document.test(iframe 名).document.form2.select.value此时a并不是一个数组,你需要遍历select对选中项进行处理 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 以前好像是这么实现的。具体忘了:str = '';for(i=0;i<document.test(iframe 名).document.form2.select.length;i++) if(document.test(iframe 名).document.form2.select[i].selected) str = str + document.test(iframe 名).document.form2.select[i].value; var a = document.test(iframe 名).document.form2.select.value这句话只是传递你选择的值 ,当然只有一个值了,如果要得到两个值,就像唠叨说的一样要遍历select中的各选项了 html中DIV的ID赋值 Web开发职位(google) 请大家评评理,付费找田心杨写的文件是否按要求完成了? 菜鸟求助!!! 大家都来说说用什么工具开发php? smarty模板中的斜杠的定义到底在哪里 如何让页面不能直接通过url访问? 各位有用LINUX的吗. 我搞不定PHP服务器..... 菜鸟的安装问题! redis做排行榜 请问:这是什么问题呢 紧急求救session问题,详情请进!
str = '';
for(i=0;i<document.test(iframe 名).document.form2.select.length;i++)
if(document.test(iframe 名).document.form2.select[i].selected)
str = str + document.test(iframe 名).document.form2.select[i].value;