提交数据而不跳转,求JS 写在iframe里,提交的时候把值全传到iframe里,然后提交,这里的iframe大小要是0 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <iframe name="hideIframe" width=0 height=0></iframe><form action="XXX.html" method=post target="hideIframe">......数据..</form> <html><head><meta http-equiv="Content-Type" content="text/html; charset=big5"><title>New Page 3</title></head><body >adsf1<iframe name='hiddenI' width=400 height=400></iframe> <form id=form1 name='form1' action='receive.php' method=post target='hiddenI'> <input type=text name='name1' value='adf'> </form></body></html><script> var obj= document.form1; obj.submit();</script> javascript中继续组合继承的问题 如何实现在一个页面内存储数据另一个页面读取数据,不是传参,页面也都是静态HTML的 javascript验证QQ号码 JQ问个选择器的问题 百分求:js如何禁止链接在新窗口打开 用JS怎样实现对两个复选框内容的大小比较 求助:网页太大,打印不全 js改变Asp.Net控件的名字 请问有没有这样的控件 谁知道SOHU首页地址栏的图标是怎么搞上的? 弹出带有三键的对话框,有“是”,“否”,“取消”的对话框 请问,怎样在父页面里用JS给iframe子页面加载CSS样式?
<form action="XXX.html" method=post target="hideIframe">
......数据..
</form>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=big5">
<title>New Page 3</title>
</head><body >adsf1
<iframe name='hiddenI' width=400 height=400></iframe>
<form id=form1 name='form1' action='receive.php' method=post target='hiddenI'>
<input type=text name='name1' value='adf'>
</form>
</body></html>
<script>
var obj= document.form1;
obj.submit();
</script>