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

Build an AJAX-Powered Shopping Cart5
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.27
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 PHP9
If you’re not familiar with using AJAX calls with jQuery and PHP, this is a good starting point.


AJAX and XML: AJAX for Tables11
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 Chat13
Learn how to create a simple chat box for a website.


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


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


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


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


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


One Form, Many Uses – Server-Side jQuery with Jaxer25
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 AJAX27
This post shows a work-around for calling server-side functions from the client side.


Developing Portlets Using JSF, AJAX, and Seam – Part 129, Part 230, and Part 331
An in-depth three-part series to help you create portals.


AJAX Forms with jQuery33
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 jQuery35
This is another useful tutorial on improving pagination with AJAX.


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


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


Develop AJAX Applications Like the Pros – Part 2: Using the Prototype JavaScript Framework and Script.aculo.us41
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 JavaScript42
The third and final part takes you through the process of setting up a message board.

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


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


A Dynamic AJAX Table Example Using Dojo and RESTful Web Services on Glassfish47
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 jQuery49
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 Lightboxes51
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 Carousels53
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 Forms55
The final part of the series looks at enhancing the purchase form.


Auto Populating Select Boxes Using jQuery and AJAX57
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 Forms59
Use PHP and jQuery with some AJAX to create a form that validates the data entered.


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


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


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


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


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


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


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

Creating an AJAX Rating Widget75
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 List77
Allow visitors to subscribe to a mailing list without a page refresh.


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


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

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


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


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


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

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

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


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

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


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


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




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

↑ Back to top Tweet itShare on Facebook

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

    so nice! thanks

  2. 2

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

  3. 3

    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 :)

  4. 4

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

  5. 5

    WordPress does not have a good effect AJAX recommend?

  6. 6

    Hey, great post!
    It would be nice if you’d post something about AHAH/AXAH too :D

  7. 7


  8. 8

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

  9. 9

    Thank you for this useful collection :-)

  10. 10


  11. 11

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

  12. 12

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

  13. 13

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


  14. 14

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

  15. 15

    świetne :)

  16. 16

    Very Nice Sharing.

  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!!

  18. 18

    Wow! Thanks a lot !

  19. 19

    Great article!

  20. 20


  21. 21


  22. 22

    Excellent article!!!. Thanks!!!

  23. 23

    Great article!
    Anybody know if there’s any tutorial to create chat application like Facebook’s ?

  24. 24

    a lot of AJAX !!! Can i try all of this !!

  25. 25


  26. 26

    somewhere i saw the similar list…but i think that was 20 excellent ajax ???

  27. 27

    Thanks for including my post of slider using PHP, Ajax and Javascript….

  28. 28

    That Namelezz Guy

    October 17, 2008 11:59 am

    Great article, really useful!

  29. 29

    excellent resource. some good ideas. we have long been fans of jquery, mootools and a range of other ajax components.

  30. 30

    Aw, they didn’t include my tutorial that I wrote. Its on jQuery and ajax if anyone is interested: ajax tutorials with jQuery

  31. 31

    I’m not aware of a tutorial for doing that.

    You’re quite welcome. Thanks for the great tutorials.

  32. 32

    Thanks dude.Useful tutorial.
    Hope everyone makes use of this tutorial.
    thanks again for this great class.

  33. 33

    Nice list.
    Good job guys.

  34. 34

    superb work

  35. 35

    Gr8 set of articeles, worth it for millllions…..

  36. 36

    Muito bom esse matérial…
    Brasil Acre

  37. 37

    Justin Leaf-Wright

    October 20, 2008 6:21 am

    mmmmmmm AJAX….

    Starting to like it more and more..


  38. 38

    thanx a lot !

  39. 39

    cool list… love it!!!

  40. 40

    Thanks for this very great post

  41. 41

    Only PHP… Why there are not simple AJAX usings without marking the server-side technology..
    But in general – great!

  42. 42

    At all I do not know what to tell in this occasion. Probably, what all will be better than now? And as a whole very much even it is informative!

  43. 43

    Carlo Van Tañeca

    January 15, 2009 11:14 pm

    Thanks for the list. ^_^

  44. 44

    thank you great tutorial

  45. 45

    hi all,
    can somebody help to create news system in flash …. like in the home page will be 2 news i need to do the admin part … the admin can edit /delete/ add new news dynamicy..

    is there anybody can help me with it

  46. 46

    Thank you so much. Awesome Collections!


↑ Back to top