diTii.com Digital News Hub

Sign up with your email address to be the first to know about latest news and more.

I agree to have my personal information transfered to MailChimp (more information)


Unobtrusive Javascript for Ruby on Rails (UJS) 0.3 Released

“Rails is a great framework, especially for writing AJAX applications, but the Javascript that the built-in Rails helpers output is a bone of contention for many. Unobtrusive Javascript for Rails aims to change that.”

Luke Redpath and Dan Webb have released version 0.3 of their plugin for Rails to allow unobtrusive javascript.

UJS for Rails makes it easy to apply behaviour to your page. Simply specify the element(s) of your page that you want the behaviour to apply to using CSS-style selectors and the event that you want to trigger the behaviour, and the Javascript that you want to run. In addition, you can write your behaviours using RJS-style Ruby to Javascript proxies.

Continue reading…


Unobtrusive Javascript for Ruby on Rails (UJS) 0.3 Released

Share This Story, Choose Your Platform!

Get Latest News

Subscribe to Digital News Hub

Get our daily newsletter about the latest news in the industry.
First Name
Last Name
Email address
Secure and Spam free...