Jquery ajax – How to use ajax Php post method with Jquery?
How to use ajax Php post method with Jquery? //ajax starting with jquery $(document).ready(function(){ $("#sbBtn").click(function(){ var userFname=("input#fname").val(); var userLname=("input#lname").val(); $.post("savedata_core.php",{uFname:userFname, uLname:userLname}, function(allData){ alert(allData); }); }); }); php file : savedata_core.php