AJAX Made Easy - Learn AJAX
AJAX Home Tutorials

Using Events in Prototype

 Category: Tutorials Add Comment

Ecytemedia has an article on how to use Events in Prototype. It dives into attaching functions to events using Event.observe along with some advanced javascript using anonymous functions and closures. Check out the following code block: $$(this.list + " li").each(function(item) {       Event.observe(item, 'click', this.showTagName.bindAsEventListener(this));     }.bind(this)); Read this as "get all items for [...]

Read Article
 

Sponsored Links

 


Related Articles

 Prototype.js for Easier Ajax Development Planning to develop an efficient Ajax based application is easier with Prototype.js. This framework was developed specifically to simplify almost any Ajax based function. It is MIT licensed framework could easily be integrated to other frameworks. To start using the framework it has to be reference ...

 Prototype Dissected In getting to know Prototype a little better, I decided to go through the latest version of the Prototype library (1.5.0_pre0) and detail every method and property that was available. In doing so, I got a much better understanding of how the code works. Here are the files in a 1280x960 and a widescr ...

 Easy Ajax with Prototype There’s little more impressive on the web today than a appropriate touch of Ajax. Used well, Ajax brings a web interface much closer to the experience of a desktop app, and can turn a bear of an task into a pleasurable activity. But it’s really hard, right? It involves all the nasty JavaScript that ...

 Prototype Gets Some Serious Syntactic Sugar I’ve hoped for a while that Prototype would implement something similar to what JQuery has going on for DOM elements. The current Element object in Prototype is packed full of great stuff, but how you access those methods isn’t exactly ide ...

 Overview of the Prototype Javascript Library The following is a brief overview of what functionality is provided by the Prototype Javascript Library. It contains a number of useful functions, fixes for browser bugs, and I think it is also a good model for how a javascript library should be written. The homepage for the Prototype Library is htt ...

 Introducing CSS event:Selectors for Prototype Justin Palmer has written CSS event:Selectors using prototype, a method to cleanly use CSS pseudo selectors to assign DOM events to elements on the page.He writes "Over the past 6 months or so Javascript has really gotten a lot of attention. I can’t name a web application released in the previous mo ...

 Handling AJAX Timeouts with Prototype Over CodeJanitor.com Json has written a script using the prototype, that checks the server and, with the help of a timeout setting, can gracefully let the user know it’s inaccessible.He Writes "I’ve been implementing some AJAX goodness in Mayday and other FastFrame apps lately. In my reading of the ...

 Prototype: Easing AJAX`s Pain This tutorial describes Prototype, an open source JavaScript library to create an object for an AJAX application. I explain how to use Prototype by describing an environmentally oriented web application that displays an annual atmospheric carbon dioxide (CO2) level. First, I will discuss Prototype&# ...

 Prototype .js Documentaion Prototype .js Document ...

 Prototype in scriptaculous wiki Prototype is a Java Script framework that aims to ease development of dynamic web applications. Its development is driven heavily by the Ruby on Rails framework, but it can be used in any environm ...



Next: AjaxLessons.com - Tutorials, News, Workshops, etc.



Post Comment


You need to Login to post your comment...

Click here to login

Title:
 
Comment:



Daily Email Updates

AJAX Updates delivered directly to your Inbox...

Enter your email address:

Latest AJAXwith Updates

Popular AJAX Articles