This is how to make an Ajax request using jQuery. This code is meant to be tested in JSfiddle, however it can easily be adapted for anyone's needs.
1) Makes an AJAX request & tell it where to grab the data from. 2) If request has failed, a message will displayed. 3) If the request was successful, gets the data and then it displays the filtered data.
You need to login to post a comment.