AJAX provides Web developers with plenty of opportunities toenhance the user experienceand improve the performance of their websites. There are countless ways that AJAX can be used, and fortunately there are plenty of good and useful AJAX tutorials out there to help you with your own implementation.
This post serves as a collection ofuseful tutorials on working with AJAX in a wide variety of ways. You’ll find tutorials on working with forms, building shopping carts, creating chat features, working with log-ins and usernames and much more.
For more on AJAX see:
- 80+ AJAX Solutions for Professional Coding
- Tutorials Round-Up: AJAX, CSS, PHP and More
Useful AJAX Tutorials
Build an AJAX-Powered Shopping Cart
NETTUTS shows us how to build an AJAX-powered shopping cart using PHP, jQuery and some plug-ins.
AJAX Username Availability Checker Using MooTools 1.2
When allowing a user to register a username, you can use AJAX with MooTools to let them check the availability of the username being submitted.
Introduction to AJAX Calls Using jQuery and PHP
If you’re not familiar with using AJAX calls with jQuery and PHP, this is a good starting point.
AJAX and XML: AJAX for Tables
IBM.com has a lot of useful articles on using AJAX. This one shows how to create tabs and tables.
AJAX and XML: AJAX for Chat
Learn how to create a simple chat box for a website.
Creating a Dynamic Poll with jQuery and PHP
This poll is created with PHP, XHTML and jQuery. AJAX effects are used to eliminate the need for a page refresh when the poll is submitted.
This AJAX ticker may be useful for displaying news headlines or similar content to visitors.
Building Your First AJAX Application with PHP
An introductory post for getting started with AJAX.
Taking AJAX Further with PHP
Following up on the preceding introduction, this post goes a bit further.
AJAX can also be used to improve the pagination of a website.
One Form, Many Uses – Server-Side jQuery with Jaxer
AJAX can help you get more use out of one form rather than create multiple forms.
How to Call Server-Side Function from Client-Side Code Using PageMethods in ASP.NET AJAX
This post shows a work-around for calling server-side functions from the client side.
Developing Portlets Using JSF, AJAX, and Seam – Part 1, Part 2, and Part 3
An in-depth three-part series to help you create portals.
AJAX Forms with jQuery
Trevor Davis shows how to create a form that will check an email address for validity, makes sure there are no blank fields and display an error if something isn’t right or complete.
Easily Build Powerful Client-Side AJAX Paging Using jQuery
This is another useful tutorial on improving pagination with AJAX.
Use jQuery and ASP.NET AJAX to Build a Client-Side Repeater
This tutorial shows how to improve user experience and reduce server load by using a client-side repeater.
The second of the three parts moves on to the Scriptaculous library.
The third and final part takes you through the process of setting up a message board.
PHP Components: Autosuggest
Using PHP and AJAX, you can add an autosuggest feature to a search box.
This tutorial produces a result similar to the preceding tutorial.
A Dynamic AJAX Table Example Using Dojo and RESTful Web Services on Glassfish
This tutorial takes you through the process of creating a dynamic table as you would see on a travel-booking website.
AJAX Overhaul – Part 1: Retro Fit Existing Sites with AJAX and jQuery
Have an existing website that needs some enhancements? This tutorial series takes you through the process.
AJAX Overhaul – Part 2: Retro Fit Existing Sites with jQuery, AJAX, Tooltips, and Lightboxes
The second part of this series takes you further through the process of improving a shopping website with tooltips and lightboxes.
AJAX Overhaul – Part 3: Retro Fit Existing Sites with jQuery, AJAX Tabs, and Photo Carousels
The third part of the series adds some nice AJAX effects with tabs and carousels.
AJAX Overhaul – Part 4: Retro Fit Existing Sites with jQuery and AJAX Forms
The final part of the series looks at enhancing the purchase form.
Auto Populating Select Boxes Using jQuery and AJAX
Learn how to allow users to choose a top-level category in a select box that will trigger the subcategory box to autopopulate.
Using AJAX to Validate Forms
Use PHP and jQuery with some AJAX to create a form that validates the data entered.
Easy AJAX with jQuery
This tutorial includes some introductory information on AJAX and jQuery and will help you get started.
Quick and Dirty AJAX (video)
This brief video tutorial shows some ways to improve the functionality of a website with jQuery and AJAX.
Wicket – Updating ListViews Using an AjaxLink
Create a table that will update without a full page refresh when a link is clicked.
AJAX for Evil: Spyjax
A look at the dark side of AJAX: viewing browsing habits.
How to Integrate Google Calendar in Your Website Using AJAX
Calendars have a great use in a number of websites.
Allow a visitor to edit the HTML of a page they are visiting.
Creating an AJAX Rating Widget
Create a rating widget that allows visitors to rate an item with stars or some other measurement.
Use AJAX and PHP to Build Your Mailing List
Allow visitors to subscribe to a mailing list without a page refresh.
Nice AJAX Effect for Message Box Using MooTools
Use this AJAX effect to give visitors a message based on some action.
Build an AJAX Dropdown Menu
This is a fairly simple tutorial on creating a drop-down menu.
Making AJAX Work with Screen Readers
For accessibility purposes, this article covers how AJAX effects can affect users of screen readers.
How to Load In and Animate Content with jQuery
Another NETTUTS tutorial for enhancing a website with jQuery and AJAX.
Another look at the subject of pagination by demonstrating continuous pagination, in which the user keeps scrolling down rather than going to another page.
Making Element Selection and AJAX simple with DOMAssistant
ASP.NET AJAX Calendar Extender
Seven different tips and tricks for working with this calendar extender.
Log-in/Sign-up Screen Using AJAX Modal Pop-up Extender
This is a quick look at creating log-in and sign-up forms.
Dealing with Large Data in AJAX
Get your AJAX application to meet your data requirements.
Creating a Gmail-Like AJAX Status Display
Use Prototype and AJAX to create this status display.
Creating an AJAX-Enabled Calendar Control
Another tutorial that focuses on enhancing calendars with AJAX effects.
Use AJAX to display errors in code.