php - how to delete row items and fadeout in ajax jquery


i am facing another issue. i want to delete row via ajax and fadeout.

i have write below code. this is successfully deleted the row but do not fadeout.

var parent = $(this).parent().parent();
                       type: "POST",
                       url: "delete_order.php",
                       data: "id="+id,
                       success: function(){
                       row.find("td").fadeOut(1000, function(){ $(this).parent().remove();});


     return false;



Why dont you fadeOut the row itself?

row.fadeOut(1000, function() {

Fiddle -

People are also looking for solutions to the problem: php - displays data with a different sign from the database


Didn't find the answer?

Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.

Ask a Question

Write quick answer

Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.

Similar questions

Find the answer in similar questions on our website.