I want to insert data through AJAX (without reload page). I tried but it is not showing data and also reload page.
I have a file first.php (in which, fo
After $("#submit").click(function(event){ add command
$("#submit").click(function(event){
event.preventDefault();
And your page will not be reloaded