How to change this in ajax call. This is the jquery code which is calling the controller and getting the data from the database and onclick of checkbox filtering of data is happening and displaying the resulted data. Now my my requirement is do this thing with ajax call. How should I do.
$('input[name^="checkbox_"]').click(function () {
$('#checkbox_all').prop('checked', false);
var Status = $(this).val();
if (Status == 'allocated') {
var url = "statusAdmin.html?Status=" + Status;
$(location).attr('href', url);
}
});