Quantcast
Channel: PHP Mysql Code » ajax
Viewing all articles
Browse latest Browse all 6

Ajax form submit with Serialize

$
0
0

Ajax form submit with Serialize method in jquery, with the use Ajax and Serialize pass the form field with the form selector. Example $(document).ready(function(){ $('#submit').click(function(){ $.ajax({ url: "test.php", type: "post", data: $('#formid').serialize(), cache: false, dataType:'html', success: function(res){ } }); }) }) test.php <form id="formid" action="" method="post"> Name :<input name="name" type="text" /> Address :<input name="address" type="text" …

The post Ajax form submit with Serialize appeared first on PHP Mysql Code.


Viewing all articles
Browse latest Browse all 6

Trending Articles