Skip to Content
jQuery: Visual QuickStart Guide
book

jQuery: Visual QuickStart Guide

by Steven Holzner
June 2009
Intermediate to advanced content levelIntermediate to advanced
240 pages
5h 19m
English
Peachpit Press
Content preview from jQuery: Visual QuickStart Guide

8. Using the Full Power of Ajax

In the previous chapter, you saw a number of the Ajax functions available in jQuery: load( ), $.get( ), and so on. Those functions are good as quick Ajax solutions, but they’re not complete solutions. What if you want to set a timeout period for your Ajax request? What if you want to take control of the XMLHttpRequest object creation process? What if you want to handle any errors returned by an operation?

For these tasks and more, jQuery provides the full-fledged $.ajax( ) function. This function gives you access to the full power of Ajax, while still staying in jQuery. This chapter is all about $.ajax( ).

About $.ajax( )

You call $.ajax( ) with a pair of name and value options. jQuery provides 20 such options. ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Beginning jQuery

Beginning jQuery

Jack Franklin

Publisher Resources

ISBN: 9780321679673Purchase book