<div class="exportf" id="upload">
<div>选择要导入的Excel文件:</div>
<form name="upload_file" id="upload_file" accept="application/msexcel" method="post" enctype="multipart/form-data" action="../1198723969227-bin/read_excel.ci" target="hidden_frame">
<input type="text" id="filepath" name="filepath">
<input name="export_file" id="export_file" type="file" onchange ="showPath();">
<div><input type="submit" value="导入"></div></form></div>
<iframe style="display:none;" name="hidden_frame" id="hidden_frame"></iframe>
现在提交返回的值显示在了iframe中,我想把内容显示到同一网页的层<div id="sys_media"></div>中,不知道怎么才能把iframe中的值显示到该层中,请大神帮忙。。html
<div>选择要导入的Excel文件:</div>
<form name="upload_file" id="upload_file" accept="application/msexcel" method="post" enctype="multipart/form-data" action="../1198723969227-bin/read_excel.ci" target="hidden_frame">
<input type="text" id="filepath" name="filepath">
<input name="export_file" id="export_file" type="file" onchange ="showPath();">
<div><input type="submit" value="导入"></div></form></div>
<iframe style="display:none;" name="hidden_frame" id="hidden_frame"></iframe>
现在提交返回的值显示在了iframe中,我想把内容显示到同一网页的层<div id="sys_media"></div>中,不知道怎么才能把iframe中的值显示到该层中,请大神帮忙。。html
yourfunc:是前台写的js函数,里面写上相应的代码,这样就可以将返回的值显示到相应的位置了