百分请教,简单问题. parent.document.formName.txtName.value=document.formName.select.options[document.formName.select.selectedIndex]text 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 不是狠明白啊.我重新写一下吧post.php:<form name="form1" method="post" action="post.php" onsubmit="return validate(this)" > <input name="hidecnname" type="hidden" id="hidecnname"><iframe src="select.php" name="selectdb" width="300" marginwidth="0" height="24" marginheight="0" scrolling="no" frameborder="0"></iframe></form>select.php:<form name="formdbsql" method="post" action="select.php"> <input type="text" name="cnname" onclick="parname()"></form>如何将手工写入select.php的cnname的数据,动态传到post.php中的hidecnname中?谢谢. post.php<form name="form1" method="post" action="post.php" onsubmit="return validate(this)" > <input name="hidecnname" type="text" id="hidecnname"><iframe src="select.php" name="selectdb" width="300" marginwidth="0" height="24" marginheight="0" scrolling="no" frameborder="0"></iframe></form>select.php<form name="formdbsql" method="post" action="select.php"> <input type="text" name="cnname" onclick="parname(this.value)" value="text"></form><script>function parname(str){ top.document.all.hidecnname.value = str; //用top指向顶级窗口.}</script> 能不能不用onclick?就是说我在input1上面一边打字,input2上面就能显示出我打的字? ie6的clientWidth问题 网站页面左右展开问题 js如何在img上动态添加文字 [分享]JS围棋,顺便帮我看看怎么取得行棋路线数组 javascript document.referrer属性试验 问个javascript的简单问题 能用javascript在页面上创建新层吗? 如何去除 select 元素的 边框?????? 急!!!!! vbscript可以改写成javascript吗? javascript中<script src=""></script>问题 字符串问题:我想每8个字符加一个下划线,怎么办? 关于消息框得问题
我重新写一下吧post.php:
<form name="form1" method="post" action="post.php" onsubmit="return validate(this)" > <input name="hidecnname" type="hidden" id="hidecnname">
<iframe src="select.php" name="selectdb" width="300" marginwidth="0" height="24" marginheight="0" scrolling="no" frameborder="0"></iframe></form>select.php:
<form name="formdbsql" method="post" action="select.php">
<input type="text" name="cnname" onclick="parname()"></form>如何将手工写入select.php的cnname的数据,动态传到post.php中的hidecnname中?谢谢.
<iframe src="select.php" name="selectdb" width="300" marginwidth="0" height="24" marginheight="0" scrolling="no" frameborder="0"></iframe></form>
select.php<form name="formdbsql" method="post" action="select.php">
<input type="text" name="cnname" onclick="parname(this.value)" value="text"></form>
<script>
function parname(str)
{
top.document.all.hidecnname.value = str; //用top指向顶级窗口.
}
</script>
就是说我在input1上面一边打字,input2上面就能显示出我打的字?