Monie Posted April 13, 2008 Share Posted April 13, 2008 Like I have a form and I want to submit the data via AJAX, but how to do with jQuery? Link to comment https://forums.phpfreaks.com/topic/100918-how-to-send-post-data-with-jquery/ Share on other sites More sharing options...
rhodesa Posted April 14, 2008 Share Posted April 14, 2008 var data = $("form_id").serialize(); //Serialize form jQuery.post('filename.php', data, function (data, textStatus) { alert(data); }); Link to comment https://forums.phpfreaks.com/topic/100918-how-to-send-post-data-with-jquery/#findComment-517056 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.