<
script type ="text/javascript">$.ajax({
type:
"POST", url: "Default.aspx/AcceptInvitation", //Pass the selected record iddata:
"{'TID': '" + t_id + "',IID': '" + i_id + "'}",contentType:
"application/json; charset=utf-8",dataType:
"json",success:
function() { // Change the back color of the Row before deletingtr_id.css(
"background-color", "lightgreen"); // Do some animation effecttr_id.fadeOut(500,
function() { //Remove GridView rowtr_id.remove();
});
}