Relative Content

Tag Archive for jqueryajaxajaxform

data is getting deleted with the help of ajax and php but why I have to refresh manually to check whether data deleted or not

I just want to delete data instantly without refresh from the database. i have written the code for inserting the data to database via ajax and php and same pushed data i am calling or printing instantly in a table without refresh on same form page which i used to submit the data and it works fine but if i want to delete the data without refresh, its not working, it shows “data deleted successfully” but after then not fetching the fresh data from database.