技术教程
当前位置:首页 > 技术教程

from表单实现无调回刷

( 更新:10-02   加入收藏)

<!DOCTYPE HTML>
<html>
    <head>
        <title>测试搜索</title>
        <meta charset="utf-8">
    </head>
    <body>
        <form action="./ce.php" method="POST" target="ceshi">
            <input name="name">
            <button type="submit">搜索</button>
        </form>
        <iframe name="ceshi" style="display:none"></iframe>
    </body>
  
</html>


Php:

<?php
echo '<script>alert("提交成功")</script>';

相关阅读