Ajax with jQuery: A Beginner's Guide

  You are currently not logged in. You can view the forums, but cannot post messages. Log In | Register

06-Mar-12 00:00
This is a forum topic for discussing the article "Ajax with jQuery: A Beginner's Guide":

http://www.elated.com/articles/ajax-with-jquery-a-beginners-guide/

Explore the concept of Ajax programming, and learn how to use the jQuery JavaScript library to build Ajax-driven websites and web apps. Code examples are included in the tutorial.
29-Mar-12 09:56
Please note that some info is not up-to-date. Under “Making generic Ajax requests with $.ajax()” complete, error, success
callback methods are being presented. These will be deprecated in next jquery version (1.8). Better to use done(), fail() that can be chained due to the fact $.ajax now returns a jquery promise.

From:
http://api.jquery.com/jQuery.ajax/

Deprecation Notice: The jqXHR.success(), jqXHR.error(), and jqXHR.complete() callbacks will be deprecated in jQuery 1.8. To prepare your code for their eventual removal, use jqXHR.done(), jqXHR.fail(), and jqXHR.always() instead.
05-Apr-12 05:44
@hvaleanu: Interesting, I didn't know those were going to be deprecated. I'll update the article when I get a chance. Thanks for the info!

--
Matt Doyle, Elated
3rd Edition of my jQuery Mobile book out now! Learn to build mobile web apps. Free sample chapter: http://store.elated.com/
17-Jul-12 00:00
I wrote an article about simple ajax requests with jQuery sometime ago... not as comprehensive as this one though. Thank you very much for all the details.

--
:)

 
New posts
Old posts

Follow Elated