You are currently browsing the tag archive for prototype

Ajax on Rails – Prototype vs JQuery

When you unpack your shiny new version of Rails and generate your first Ajax link, you are using the Prototype library. It’s beautiful to use. It adds many Rails-like constructs into the JavaScript language, e.g. the each method to iterate a closure over an array. Sexy stuff. But, how do you create a hover effect without using prototype?