Posted By

daisyfig99 on 03/13/13


Tagged


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

daisyfig99


Ajax Request and Handler using jQuery & JSfiddle


 / Published in: jQuery
 

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.

Report this snippet  

You need to login to post a comment.