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();
$.ajax({
                       type: "POST",
                       url: "delete_order.php",
                       data: "id="+id,
                       success: function(){
                       row.find("td").fadeOut(1000, function(){ $(this).parent().remove();});


               }


     });
     return false;

I think we may need a bit more information about your code. Do you have this online where we can take a look at the source?

Assuming that row is actually an TR object, try this:

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

And please, ident your code before posting. It helps us to help you.