Menu Search
Jump to the content X X
Smashing Conf Barcelona 2016

We use ad-blockers as well, you know. We gotta keep those servers running though. Did you know that we publish useful books and run friendly conferences — crafted for pros like yourself? E.g. upcoming SmashingConf Barcelona, dedicated to smart front-end techniques and design patterns.

50 Excellent AJAX Tutorials

AJAX provides Web developers with plenty of opportunities to enhance the user experience and 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 of useful 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:

Useful AJAX Tutorials Link

Build an AJAX-Powered Shopping Cart2
NETTUTS shows us how to build an AJAX-powered shopping cart using PHP, jQuery and some plug-ins.

AJAX3

AJAX Username Availability Checker Using MooTools 1.24
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.

5

Introduction to AJAX Calls Using jQuery and PHP6
If you’re not familiar with using AJAX calls with jQuery and PHP, this is a good starting point.

7

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 Chat8
Learn how to create a simple chat box for a website.

9

Creating a Dynamic Poll with jQuery and PHP10
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.

11

RSS AJAX JavaScript Ticker12
This AJAX ticker may be useful for displaying news headlines or similar content to visitors.

13

Building Your First AJAX Application with PHP14
An introductory post for getting started with AJAX.

15

Taking AJAX Further with PHP16
Following up on the preceding introduction, this post goes a bit further.

17

jQuery/JavaScript – Customizable AJAX Pagination18
AJAX can also be used to improve the pagination of a website.

19

One Form, Many Uses – Server-Side jQuery with Jaxer20
AJAX can help you get more use out of one form rather than create multiple forms.

21

How to Call Server-Side Function from Client-Side Code Using PageMethods in ASP.NET AJAX22
This post shows a work-around for calling server-side functions from the client side.

23

Developing Portlets Using JSF, AJAX, and Seam – Part 124, Part 225, and Part 326
An in-depth three-part series to help you create portals.

27

AJAX Forms with jQuery28
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.

29

Easily Build Powerful Client-Side AJAX Paging Using jQuery30
This is another useful tutorial on improving pagination with AJAX.

31

Use jQuery and ASP.NET AJAX to Build a Client-Side Repeater32
This tutorial shows how to improve user experience and reduce server load by using a client-side repeater.

33

Develop AJAX Applications Like the Pros – Part 1: Using the Prototype JavaScript Library and Script.aculo.us34
The first part of this three-part series includes an introduction to the Prototype JavaScript library.

35

Develop AJAX Applications Like the Pros – Part 2: Using the Prototype JavaScript Framework and Script.aculo.us36
The second of the three parts moves on to the Scriptaculous library.

Develop AJAX Applications Like the Pros – Part 3: Use DWR, Java, and the Dojo Toolkit to Integrate Java and JavaScript37
The third and final part takes you through the process of setting up a message board.

PHP Components: Autosuggest38
Using PHP and AJAX, you can add an autosuggest feature to a search box.

39

AutoCompleter Tutorial
This tutorial produces a result similar to the preceding tutorial.

A Dynamic AJAX Table Example Using Dojo and RESTful Web Services on Glassfish40
This tutorial takes you through the process of creating a dynamic table as you would see on a travel-booking website.

41

AJAX Overhaul – Part 1: Retro Fit Existing Sites with AJAX and jQuery42
Have an existing website that needs some enhancements? This tutorial series takes you through the process.

43

AJAX Overhaul – Part 2: Retro Fit Existing Sites with jQuery, AJAX, Tooltips, and Lightboxes44
The second part of this series takes you further through the process of improving a shopping website with tooltips and lightboxes.

45

AJAX Overhaul – Part 3: Retro Fit Existing Sites with jQuery, AJAX Tabs, and Photo Carousels46
The third part of the series adds some nice AJAX effects with tabs and carousels.

47

AJAX Overhaul – Part 4: Retro Fit Existing Sites with jQuery and AJAX Forms48
The final part of the series looks at enhancing the purchase form.

49

Auto Populating Select Boxes Using jQuery and AJAX50
Learn how to allow users to choose a top-level category in a select box that will trigger the subcategory box to autopopulate.

51

Using AJAX to Validate Forms
Use PHP and jQuery with some AJAX to create a form that validates the data entered.

Easy AJAX with jQuery52
This tutorial includes some introductory information on AJAX and jQuery and will help you get started.

53

Quick and Dirty AJAX54 (video)
This brief video tutorial shows some ways to improve the functionality of a website with jQuery and AJAX.

55

Load Content While Scrolling with jQuery56
This tutorial creates a scrolling effect similar to DZone57’s.

58

Wicket – Updating ListViews Using an AjaxLink59
Create a table that will update without a full page refresh when a link is clicked.

60

AJAX for Evil: Spyjax61
A look at the dark side of AJAX: viewing browsing habits.

62

How to Integrate Google Calendar in Your Website Using AJAX
Calendars have a great use in a number of websites.

Edit in Place with AJAX Using jQuery JavaScript Library63
Allow a visitor to edit the HTML of a page they are visiting.

Creating an AJAX Rating Widget64
Create a rating widget that allows visitors to rate an item with stars or some other measurement.

65

Use AJAX and PHP to Build Your Mailing List66
Allow visitors to subscribe to a mailing list without a page refresh.

67

Nice AJAX Effect for Message Box Using MooTools68
Use this AJAX effect to give visitors a message based on some action.

69

Build an AJAX Dropdown Menu
This is a fairly simple tutorial on creating a drop-down menu.

Making AJAX Work with Screen Readers70
For accessibility purposes, this article covers how AJAX effects can affect users of screen readers.

71

How to Load In and Animate Content with jQuery72
Another NETTUTS tutorial for enhancing a website with jQuery and AJAX.

73

Continuous Pagination
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 DOMAssistant74
A tutorial to get you started with the DOMAssistant JavaScript library.

75

Slider Using PHP, AJAX, and JavaScript76
Create a nice slider using PHP, JavaScript and AJAX.

ASP.NET AJAX Calendar Extender77
Seven different tips and tricks for working with this calendar extender.

Log-in/Sign-up Screen Using AJAX Modal Pop-up Extender78
This is a quick look at creating log-in and sign-up forms.

79

Dealing with Large Data in AJAX80
Get your AJAX application to meet your data requirements.

Creating a Gmail-Like AJAX Status Display81
Use Prototype and AJAX to create this status display.

82

Creating an AJAX-Enabled Calendar Control83
Another tutorial that focuses on enhancing calendars with AJAX effects.

84

JavaScript Error Publishing using ASP.NET AJAX85
Use AJAX to display errors in code.

86

(al)

Footnotes Link

  1. 1 https://www.smashingmagazine.com/2007/06/20/ajax-javascript-solutions-for-professional-coding/
  2. 2 http://nettuts.com/javascript-ajax/build-an-ajax-powered-shopping-cart/
  3. 3 http://nettuts.com/javascript-ajax/build-an-ajax-powered-shopping-cart/
  4. 4 http://davidwalsh.name/ajax-username-availability-checker-mootools-12
  5. 5 http://davidwalsh.name/ajax-username-availability-checker-mootools-12
  6. 6 http://phpmash.com/2008/10/06/introduction-to-ajax-calls-using-jquery-and-php/
  7. 7 http://phpmash.com/2008/10/06/introduction-to-ajax-calls-using-jquery-and-php/
  8. 8 http://www.ibm.com/developerworks/web/library/x-ajaxxml8/index.html?ca=drs-
  9. 9 http://www.ibm.com/developerworks/web/library/x-ajaxxml8/index.html?ca=drs-
  10. 10 http://nettuts.com/javascript-ajax/creating-a-dynamic-poll-with-jquery-and-php/
  11. 11 http://nettuts.com/javascript-ajax/creating-a-dynamic-poll-with-jquery-and-php/
  12. 12 http://www.javascriptkit.com/dhtmltutors/ajaxticker/index.shtml
  13. 13 http://www.javascriptkit.com/dhtmltutors/ajaxticker/index.shtml
  14. 14 http://peter.upfold.org.uk/blog/2006/09/27/building-your-first-ajax-application-with-php/
  15. 15 http://peter.upfold.org.uk/blog/2006/09/27/building-your-first-ajax-application-with-php/
  16. 16 http://peter.upfold.org.uk/blog/2007/02/18/taking-ajax-further-with-php/
  17. 17 http://peter.upfold.org.uk/blog/2007/02/18/taking-ajax-further-with-php/
  18. 18 http://loveandtheft.org/2008/09/17/jquery-javascript-customizeable-ajax-pageination/
  19. 19 http://loveandtheft.org/2008/09/17/jquery-javascript-customizeable-ajax-pageination/
  20. 20 http://www.codegobbler.com/one-form-many-uses-server-side-jquery-jaxer
  21. 21 http://www.codegobbler.com/one-form-many-uses-server-side-jquery-jaxer
  22. 22 http://www.dotnetcurry.com/ShowArticle.aspx?ID=109
  23. 23 http://www.dotnetcurry.com/ShowArticle.aspx?ID=109
  24. 24 http://www.infoq.com/articles/jsf-ajax-seam-portlets-pt-1;jsessionid=5D98C3CBDCB1F7DAC59B07E6B6FBFB19
  25. 25 http://www.infoq.com/articles/jsf-ajax-seam-portlets-pt-2;jsessionid=5D98C3CBDCB1F7DAC59B07E6B6FBFB19
  26. 26 http://www.infoq.com/articles/jsf-ajax-seam-portlets-pt-3
  27. 27 http://www.infoq.com/articles/jsf-ajax-seam-portlets-pt-1;jsessionid=5D98C3CBDCB1F7DAC59B07E6B6FBFB19
  28. 28 http://trevordavis.net/blog/tutorial/ajax-forms-with-jquery/
  29. 29 http://trevordavis.net/blog/tutorial/ajax-forms-with-jquery/
  30. 30 http://encosia.com/2008/08/20/easily-build-powerful-client-side-ajax-paging-using-jquery/
  31. 31 http://encosia.com/2008/08/20/easily-build-powerful-client-side-ajax-paging-using-jquery/
  32. 32 http://encosia.com/2008/06/26/use-jquery-and-aspnet-ajax-to-build-a-client-side-repeater/
  33. 33 http://encosia.com/2008/06/26/use-jquery-and-aspnet-ajax-to-build-a-client-side-repeater/
  34. 34 http://www.ibm.com/developerworks/web/library/wa-aj-ajaxpro1/
  35. 35 http://www.ibm.com/developerworks/web/library/wa-aj-ajaxpro1/
  36. 36 http://www.ibm.com/developerworks/web/library/wa-aj-ajaxpro2/index.html
  37. 37 http://www.ibm.com/developerworks/web/library/wa-aj-ajaxpro3/index.html?ca=dgr-jw64wa-aj-ajaxpro3&S_TACT=105AGY46&S_CMP=GRsitejw64
  38. 38 http://woork.blogspot.com/2008/03/php-components-autosuggest.html
  39. 39 http://woork.blogspot.com/2008/03/php-components-autosuggest.html
  40. 40 http://weblogs.java.net/blog/caroljmcdonald/archive/2008/07/a_dynamic_ajax.html
  41. 41 http://weblogs.java.net/blog/caroljmcdonald/archive/2008/07/a_dynamic_ajax.html
  42. 42 http://www.ibm.com/developerworks/web/library/wa-aj-overhaul1/index.html
  43. 43 http://www.ibm.com/developerworks/web/library/wa-aj-overhaul1/index.html
  44. 44 http://www.ibm.com/developerworks/web/library/wa-aj-overhaul2/index.html
  45. 45 http://www.ibm.com/developerworks/web/library/wa-aj-overhaul2/index.html
  46. 46 http://www.ibm.com/developerworks/web/library/wa-aj-overhaul3/index.html
  47. 47 http://www.ibm.com/developerworks/web/library/wa-aj-overhaul3/index.html
  48. 48 http://www.ibm.com/developerworks/web/library/wa-aj-overhaul4/index.html?ca=drs-tp3108
  49. 49 http://www.ibm.com/developerworks/web/library/wa-aj-overhaul4/index.html?ca=drs-tp3108
  50. 50 http://remysharp.com/2007/01/20/auto-populating-select-boxes-using-jquery-ajax/
  51. 51 http://remysharp.com/2007/01/20/auto-populating-select-boxes-using-jquery-ajax/
  52. 52 http://www.sitepoint.com/article/ajax-jquery/
  53. 53 http://www.sitepoint.com/article/ajax-jquery/
  54. 54 http://15daysofjquery.com/quick-and-dirty-ajax/14/
  55. 55 http://15daysofjquery.com/quick-and-dirty-ajax/14/
  56. 56 http://www.webresourcesdepot.com/load-content-while-scrolling-with-jquery/
  57. 57 http://dzone.com
  58. 58 http://www.webresourcesdepot.com/load-content-while-scrolling-with-jquery/
  59. 59 http://blog.xebia.com/2008/06/04/wicket-updating-listviews-using-an-ajaxlink/
  60. 60 http://blog.xebia.com/2008/06/04/wicket-updating-listviews-using-an-ajaxlink/
  61. 61 http://davidwalsh.name/ajax-evil-spyjax
  62. 62 http://davidwalsh.name/ajax-evil-spyjax
  63. 63 http://15daysofjquery.com/edit-in-place-with-ajax-using-jquery-javascript-library/15/
  64. 64 http://www.progressive-coding.com/tutorial.php?id=6
  65. 65 http://www.progressive-coding.com/tutorial.php?id=6
  66. 66 http://www.sitepoint.com/article/use-ajax-php-build-mailing-list/
  67. 67 http://www.sitepoint.com/article/use-ajax-php-build-mailing-list/
  68. 68 http://woork.blogspot.com/2008/03/nice-ajax-effect-for-message-box-using.html
  69. 69 http://woork.blogspot.com/2008/03/nice-ajax-effect-for-message-box-using.html
  70. 70 http://juicystudio.com/article/making-ajax-work-with-screen-readers.php
  71. 71 http://juicystudio.com/article/making-ajax-work-with-screen-readers.php
  72. 72 http://nettuts.com/javascript-ajax/how-to-load-in-and-animate-content-with-jquery/
  73. 73 http://nettuts.com/javascript-ajax/how-to-load-in-and-animate-content-with-jquery/
  74. 74 http://css.dzone.com/news/ajax-and-simple-element-select
  75. 75 http://css.dzone.com/news/ajax-and-simple-element-select
  76. 76 http://roshanbh.com.np/2008/01/slider-using-php-ajax-and-javascript.html
  77. 77 http://www.dotnetcurry.com/ShowArticle.aspx?ID=149
  78. 78 http://www.codeproject.com/KB/ajax/LoginSignupScreen.aspx
  79. 79 http://www.codeproject.com/KB/ajax/LoginSignupScreen.aspx
  80. 80 http://css.dzone.com/articles/dealing-large-data-ajax
  81. 81 http://css.dzone.com/news/creating-gmail-ajax-status-dis
  82. 82 http://css.dzone.com/news/creating-gmail-ajax-status-dis
  83. 83 http://aspnet.4guysfromrolla.com/articles/022008-1.aspx
  84. 84 http://aspnet.4guysfromrolla.com/articles/022008-1.aspx
  85. 85 http://seejoelprogram.wordpress.com/2008/02/05/javascript-error-publishing-using-aspnet-ajax/
  86. 86 http://seejoelprogram.wordpress.com/2008/02/05/javascript-error-publishing-using-aspnet-ajax/
SmashingConf Barcelona 2016

Hold on, Tiger! Thank you for reading the article. Did you know that we also publish printed books and run friendly conferences – crafted for pros like you? Like SmashingConf Barcelona, on October 25–26, with smart design patterns and front-end techniques.

↑ Back to top Tweet itShare on Facebook

Advertisement

Steven Snell is a Web designer and blogger. In addition to maintaining his own blog and writing for a number of other top design blogs, he also manages an online shop that offers premium graphic design resources.

  1. 1

    Smashin’ Ajax! thanx for the share and keep these kinda posts comin’

    :p

    2
  2. 2

    so nice! thanks

    0
  3. 3

    This is really great stuff! Thanks !
    I always come back for this kind of posts… just like the useful javascripts you gave last month.

    2
  4. 4

    Wow. That is a fantastic line up. You’ve got some really good tut’s in there. I was especially interested in the AJAX chat example and some of the jQuery stuff. I’m not a huge fan of jQuery only because I prefer to code from scratch but it definitely has its uses.

    Great work as always :)

    1
  5. 5

    Just a collection of many websites wich have collected ajax based scripts. Though, there are quote a few wich are awesome.

    -1
  6. 6

    WordPress does not have a good effect AJAX recommend?

    2
  7. 7

    Hey, great post!
    It would be nice if you’d post something about AHAH/AXAH too :D
    http://microformats.org/wiki/rest/ahah

    0
  8. 8

    Gracias.

    0
  9. 9

    Nice collection, some I hadn’t seen that i’m defiantly going use.

    -1
  10. 10

    GalaxySpectrum

    October 16, 2008 5:44 pm

    Thank you for this useful collection :-)

    -1
  11. 11

    dendy b sulistyo

    October 16, 2008 7:13 pm

    awwweesome!

    0
  12. 12

    I have written an Ajax tutorial – A Gentle Introduction to Ajax. Its really useful for beginners.

    -2
  13. 13

    Thanks ! Great one. will read the full article later.

    -1
  14. 14

    great list! the AJAX Overhaul sets would be very useful. thanks for sharing!

    2
  15. 15

    świetne :)

    -1
  16. 16

    Very Nice Sharing.
    Thanks

    2
  17. 17

    I found another excellent AJAX tut in one of the links you posted..

    Top 5 ASP.NET AJAX Articles You Must Read

    Also love the jquery tuts..way to go!!

    1
  18. 18

    Wow! Thanks a lot !

    0
  19. 19

    Great article!

    0
  20. 20

    Groobe!

    0

↑ Back to top