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();
More Related Contents:
- How to send data to the server via Ajax?
- HTML: how refresh information in [closed]
- jQuery+JavaScript: Create custom ajax call function with single object as argument [closed]
- jQuery: Return data after ajax call success [duplicate]
- Uploading both data and files in one form using Ajax?
- Use basic authentication with jQuery and Ajax
- How do I POST urlencoded form data with $http without jQuery?
- ReactJS convert HTML string to JSX
- event.returnValue is deprecated. Please use the standard event.preventDefault() instead
- Why is it a bad practice to return generated HTML instead of JSON? Or is it?
- Adding CSRFToken to Ajax request
- How to return an Ajax result using async/await? [duplicate]
- AJAX request to local file system not working in Chrome? [duplicate]
- Server polling with JavaScript
- How to trigger an onkeyup event that’s delayed until a user pauses their typing?
- pdf file upload ajax html
- Javascript regex returning true.. then false.. then true.. etc [duplicate]
- Is it any limit for POST data size in Ajax?
- Populating a select box using JQUERY, AJAX and PHP
- How to generate a thumbnail image after adding an image inside an input type=”file” in a form and submitting them both on the same form
- How to loop through Ajax Requests inside a JQuery When – Then statment?
- Chain ajax and execute it in sequence. Jquery Deferred
- “Permission denied” with Internet Explorer and jQuery
- How to show loading status in percentage for ajax response?
- Send form data using ajax
- jQuery ajax async: false causes a strange warning?
- jQuery $.ajax(), pass success data into separate function
- How to submit checkboxes from all pages with jQuery DataTables
- creating highchart with ajax json data
- Python Flask Cors Issue