JavaScript
  Home arrow JavaScript arrow Working with AJAX and the Prototype JavaSc...
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Dedicated Servers  
Moblin 
JMSL Numerical Library 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
JAVASCRIPT

Working with AJAX and the Prototype JavaScript Library
By: Alejandro Gervasio
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 3
    2007-02-06

    Table of Contents:
  • Working with AJAX and the Prototype JavaScript Library
  • Using the Prototype/AJAX combination
  • Dealing with formatted (X)HTML results
  • Using the Try.these() function and the each loop

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Working with AJAX and the Prototype JavaScript Library


    (Page 1 of 4 )

    In the last few months, the Prototype JavaScript library has become very popular with web developers. If you want to take your first steps with it, you should begin reading this article. Welcome to the second part of the series “Introducing the Prototype JavaScript library.” This series shows you how to put this powerful package to work for you to facilitate the development of your own JavaScript applications.

    Before I continue exploring the neat features that come packaged with Prototype, let me recapitulate briefly the topics that I discussed in the previous article. In that way you will understand more easily the group of themes that I plan to cover in this tutorial.

    As you'll certainly remember, in the first part of the series I started explaining how to use some of the most popular functions included with this library. I touched on the $, $A, and $H functions, as well as an additional one, called $F. If you're anything like me, you found the $ function extremely versatile for retrieving and manipulating multiple elements of the same web document. The others also have great potential, particularly if you need to work on a daily basis with arrays or online forms.

    Of course the set of helpful functions that I mentioned above are simply a small sample of all that Prototype can do for you, which implies that there's still a long way to go when it comes to exploring its remarkable capabilities. In this second article of the series I'm going to show you how to take advantage of some objects incorporated into this library to simplify the development of AJAX-based applications and to facilitate working with array iterators.

    Now that you know the topics that will be discussed in this tutorial, let's move forward and continue exploring the neat capacities of this powerful JavaScript library. Prototype is waiting for us!

    More JavaScript Articles
    More By Alejandro Gervasio


       · In this second part of the series, you'll learn how to use the excellent AJAX...
     

    JAVASCRIPT ARTICLES

    - Book Review: Learning the Yahoo! User Interf...
    - Dynamically Generate a Selection List in a R...
    - Intergrate DWR into Your Java Web Application
    - Detect Browser Compatibility with the Reques...
    - Using the EXT JS Date Picker Widget
    - Ajax Hack for Entering Information Without R...
    - EXT JS 2.1 Overview
    - Using the Style Object for Zebra Tables with...
    - Binary Searching
    - An Improved Approach to Building Zebra Tables
    - Assigning Background Colors Dynamically to Z...
    - Building Zebra Tables with CSS and JavaScript
    - JavaScript: Array Objects
    - A Closer Look at Smart Markers with Yahoo! M...
    - Using Polylines and Smart Markers with Yahoo...







    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway