Ajax cannot get success or error

Since you have not answered my question in the comments. I am guessing btnSearchForUser is a submit button and you are not cancelling its click action.

$("#btnSearchForUser").click(function (event) {
    event.preventDefault();

Leave a Comment