JavaScript
  Home arrow JavaScript arrow Handling Forms, Events and More with the P...
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  
Mobile Linux 
App Generation ROI 
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

Handling Forms, Events and More with the Prototype JavaScript Library
By: Alejandro Gervasio
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 7
    2007-02-13

    Table of Contents:
  • Handling Forms, Events and More with the Prototype JavaScript Library
  • Iterator functions and event observers
  • Handling web forms
  • Using periodic and event-based form observers
  • Using the Element and Insertion objects

  • 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


    Handling Forms, Events and More with the Prototype JavaScript Library


    (Page 1 of 5 )

    Do you want to learn how to use the popular Prototype library to facilitate the development of your own JavaScript applications? Then look no further, because this set of articles is what you’re looking for! Welcome to the final installment of the series "Introducing the Prototype JavaScript library." Made up of three parts, this series teaches you how to get the most out of this powerful JavaScript package, by showing you copious hands-on examples.

    Going back to the previous article, you'll remember that I demonstrated how to take advantage of the robust AJAX capacities that come with this library by looking at the helpful "AJAX.Request" and "AJAX.Updater" classes. These classes help you to rapidly develop AJAX-based applications without having to deal with cross-browser issues, or write custom code to handle the different states of a given HTTP request.

    Also, I showed you how to use a few additional functions, including some popular ones, like "Try.these()" and "each()." In particular, the latter one implements a different way of coding looping structures, very similar to the iterations used in Ruby. In short, you'll realize that Prototype has a wealth of powerful features that can noticeably boost your JavaScript programming and facilitate the development of AJAX-driven programs.

    Nonetheless, this package has some extra functions and methods that deserve an in-depth look. In this last tutorial of the series, I'm going to explain the appropriate usage of some of them, including the implementation of iterators functions, event observers, and form handlers. Sounds really interesting, right?

    Now that you know the topics that will be covered in this final article, let's move forward together and continue discovering many other useful capabilities that come integrated with Prototype. Let's go!

    More JavaScript Articles
    More By Alejandro Gervasio


       · Over the course of this last article of the series, you'll learn how to handle...
     

    JAVASCRIPT ARTICLES

    - Using Click Interceptions with a Database-Dr...
    - Using JavaScript Click Interceptions in an I...
    - Using Click Interceptions with JavaScript
    - QuickSort in Action
    - Quicksort
    - Using Mod_Security to Protect Your Server
    - Detecting and Countering Server Intrusions
    - Securing Your Web Server
    - Building a Secure Web Server
    - Protecting the Server
    - 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






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