jQuery provides the
$.ajax method to perform Ajax requests that work across browsers. Traditionally, this has been a pain to do, since browsers all implemented different interfaces for handling Ajax. jQuery takes care of all of that and provides a simpler, callback-based way of constructing and executing Ajax requests. This means that you can declaratively specify how the Ajax call should be made and then provide functions that jQuery will call back when the request succeeds or fails.