1
我有一个表单提交一个php文件到iframe。加载图像,同时表单加载php脚本到iframe
这里是形式:
<form action="del.php" method="post" target="output" >
Server: <input type="text" name="server_id" value="" />
Name:<input type="text" name="name" value="" />
Password:<input type="password" name="password" value="" /> <br>
Create Log? <input type="checkbox" name="log" value="" />
Output list of files? <input type="checkbox" name="out" value="" /><br>
<input type="submit" name="delete" value="Delete FTP!" /></td><br>
<iframe id="output" ></iframe>
del.php删除一个三层架构的远程FTP文件。这个递归函数需要一段时间。 现在我想通过加载del.php到iframe来显示加载图像。
看看AJAX和jQuery,它们使你能够完成你正在寻找的东西。 – TryingToImprove 2013-02-11 21:13:15
有del.php输出“加载图像”到iframe中,然后[刷新输出] [1]。 [1]:http://stackoverflow.com/questions/3483035/php-flushing-output-as-soon-as-you-call-echo – 2013-02-11 21:14:25
不幸的是我对Java – Sm0ke 2013-02-11 21:19:18