父子窗口间的参数传递问题,急,在线等!!!!! window.opener.document.all.ceshi.value=document.all.temp.value 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <input type="radio" name="temp" value="测试1" id="temp"> <input type="radio" name="temp" value="测试2" id="temp"> <input type="radio" name="temp" value="测试3" id="temp">window.opener.document.all.ceshi.value=document.all.temp[0].value 不行啊,无论我选择的是哪个都显示的只是"测试1",然后我把temp[0]改成temp[1],显示的却是测试2,怎么回事啊? temp是一个数组,包含名/ID为temp的控件,以0开始索引,0即第一个,依次…… <script>function deng(){ var woyingjie="" for(i=0;i<document.all.temp.length;i++){ if(document.all.temp[i].checked){ window.opener.document.all.ceshi.value=document.all.temp[i].value } }}</script> <script>function deng(){ for(i=0;i<document.all.temp.length;i++){ if(document.all.temp[i].checked){ window.opener.document.all.ceshi.value=document.all.temp[i].value } }}</script> 问题解决, woyingjie(killerj.style.display == "none";)(隐身中..........) 接分! Flex3 自定义控件 fieldSet javascript 如何设置ie浏览器下载文件时保存在本地磁盘上的路径 类继承的问题 为什么我的程序在firefox下正常,而在ie8和chrome中提示框总是出现在最下面? 实现IE中点击右键出现的一个div层?大家给点思路,谢谢!(3天之内追加100分) dhCode Web开发资源包发布 如何用javascript实现“另存为”的功能的对话框 能不能改变下拉列表框的样式,使其不成3D效果! 请问如何实现二进制的写入(100分) Python爬虫 高分求救,快呀! 如何 使 IE 的窗体最大化 ?????????????????????
<input type="radio" name="temp" value="测试2" id="temp">
<input type="radio" name="temp" value="测试3" id="temp">
window.opener.document.all.ceshi.value=document.all.temp[0].value
function deng(){
var woyingjie=""
for(i=0;i<document.all.temp.length;i++){
if(document.all.temp[i].checked){
window.opener.document.all.ceshi.value=document.all.temp[i].value
}
}
}
</script>
function deng(){
for(i=0;i<document.all.temp.length;i++){
if(document.all.temp[i].checked){
window.opener.document.all.ceshi.value=document.all.temp[i].value
}
}
}
</script>