<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html>
    <head>
        <title></title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <script src="jquery-1.7.2.min.js"></script>
        <script src="jquery.form.js"></script>
         <script>
       //ajaxForm
        var optionss = { 
            dataType:"text", 
            type:'post', 
            url: "chuli.php", 
            beforeSubmit:showRequest,  
            success:showResponse,
            clearForm:true
        }; 
        $('#form1').ajaxForm(optionss);
        function showRequest() {    }
        function showResponse(data){  
            alert(data);
        }   
         </script>
    </head>
    <body>
        <form action="chuli.php" method="post" ).ajaxSubmit({
                    success:function(data){
                        alert(data);
                    }
                })
            });
        </script>
</html>

相关文章:

  • 2021-05-29
  • 2021-06-01
  • 2021-10-25
  • 2022-01-07
  • 2021-11-10
  • 2021-12-19
  • 2021-11-05
猜你喜欢
  • 2021-11-14
  • 2022-03-07
  • 2021-11-13
  • 2021-10-07
  • 2022-12-23
  • 2021-06-18
相关资源
相似解决方案