Hi Expert,
I can't able to send a request to the server through javascript code on checkbox click. Here is my code,
$.post("Admin/UpdateUser", { userId: $(this).attr("id") }, function (response) {
showMessage(response.message);
})
Its raised error, Please give me some suggestion to accomplish my task.
Hemant Patel
18-Dec-2017Hi Sophie,
After analyzing your code, I think your path of controller causes the error. Please follow below line code to accomplish your task.
I hope its informative...