I am displaying a bunch of movies in a table, I am eventually deleting each movie through Javascript which hides the div.
I now want to delete the movie from the d
Try this: (Using jQuery Ajax)
$("#DeleteButtonID").on("click", function() { $.ajax( { type: "POST", page: 1, rp: 6, url: '@Url.Action("PopulateDataListWithHeader", "DataList")' + "?id=" + YOURID, dataType: "json", success: function(result) { }, error: function(x, e) { } }); });