在form表单下添加iframe标签,设置隐藏,和name属性。 form 添加target属性,值为iframe的name。 ...
.提交form,action 提交数据,但页面不跳转,可以使用Iframe简单方法 .注意 lt form action hello.php method post target id iframe gt lt from gt 中的target 一定是你要指定要显示返回结果的 lt iframe id id iframe name id iframe style gt lt iframe gt ...
2016-03-24 14:39 0 7113 推荐指数:
在form表单下添加iframe标签,设置隐藏,和name属性。 form 添加target属性,值为iframe的name。 ...
<div class="file-box"> <form action="/File/fileUpLoad" id="form1" name="form1" method="post" target="id_iframe"> <input type="text ...
...
方案一 方案二 ...
作者:幻月九十链接:https://www.zhihu.com/question/19631256/answer/119911045来源:知乎著作权归作者所有,转载请联系作者获得授权。 ...
方案一 方案二 ...
方法一:target <html> <body> <form action="" method="post" target="nm_iframe"> <input type="text" id="id_input_text" name ...