.ajax / .get / .load()
$.ajax() gives you full control over the Ajax request. You should use it if the other methods don't fullfil your needs.
$.get() executes an Ajax GET request. The returned data (which can be any data) will be passed to your callback handler.
$(selector).load() will execute an Ajax GET request and will set the content of the selected returned data (which should be either text or HTML).
Written by Otto Vanluchene
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ajax
Authors
Related Tags
#ajax
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#