jQuery POST form data

后端 未结 3 1805
孤城傲影
孤城傲影 2020-12-05 14:23

When I click submit I\'d like all form data to be POSTed to process.php. Then on process.php I want to echo out the POST data and finally replace everything in results div t

3条回答
  •  鱼传尺愫
    2020-12-05 15:23

    There is but another way to do it all. This example uses the jQuery validate plugin. Here, all the form fields are validated automatically. Download jquery from here :

    https://ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js

    Download validation plugin from here :

    http://jquery.bassistance.de/validate/jquery-validation-1.10.0.zip

        
        
        
    
    

提交回复
热议问题