>All Tutorials 
Ajax and .NET Ajax and .NET RSS XML
Ajax and ColdFusion Ajax and ColdFusion RSS XML
Ajax and Java Ajax and Java RSS XML
Ajax and PHP Ajax and PHP RSS XML
Ajax and SOA Ajax and SOA RSS XML
Ajax Goodies Ajax Goodies RSS XML
Ajax Tool Ajax Tool RSS XML
Facebook MockAjax Facebook MockAjax RSS XML
Google Web Toolkit Google Web Toolkit RSS XML
JavaScript Framework JavaScript Framework RSS XML
Ruby on Rails Ruby on Rails RSS XML
Technique Introduction Technique Introduction RSS XML
Without XMLHttpRequest Without XMLHttpRequest RSS XML
Yahoo! UI Yahoo! UI RSS XML

AJAX Tutorial with Prototype - wrote ajax mst pm mdt code tutorial zip

 
Registered tutorials: 501
Registered Users: 33291



Rating: 4.5 out of 2 votes cast


  
Category: JavaScript Framework

AJAX Tutorial with Prototype

Digg this   Post to del.icio.us

Abstract: Short tutorial on how to use AJAX and Prototype to verify zip codes. Quick example of AJAX showing how to check a data set live with a form using JavaScript.

Here's the AJAX prototype example that I used in my AJAX presentation today.

I wanted to give an example of a good use of AJAX, and at the same time keep it simple. So I thought a good example would be to build a zip code verifier. As soon as the person enters the zip code it makes a request to the server to see if the zip code is in the database, and returns the city and state.

So the user first sees this:

zip code form input

Once the zip code is entered, and the response received it looks like this:

zip code form input with validated zip code

If the zip code is not found in the db:

zip code form input with invalid zip code

Ok, now lets build it...


Read Full Tutorial...



Reviews:

Rate and Review This Site

2008-07-07 02:46:21
outstandings!!!




Statistic Information About this Resource:


Total Hits: 389
Unique Hits: 327


  Daily Weekly Monthly
  Unique Total Unique Total Unique Total
Average 0.2 0.2 0.5 0.6 5 6
Current 0 0 1 1 1 1
Previous 1 1 1 1 2 3
Dec 1 0 0 1 2 8 9
Nov 30 0 0 0 0 2 3
Nov 29 0 0 0 0 8 11
Nov 28 0 0 0 0 10 11
Nov 27 0 0 0 0 7 7
Nov 26 1 1 0 0 0 0
Nov 25 0 0 1 1 7 9
Nov 24 0 0 1 1 5 6
Highest 6 6 19 25 67 86


Script Execution Time: 1.21811 | SQL Queries: 10 | Members: 501
Ajax Tutorial Top List - Powered by Aardvark Topsites PHP 5.1.2