This Rails 3.1+ add-on lets you easily run a JavaScript function based on what controller and action is being loaded. Let's say you want to bind a function to run only on the Users controller on the ...
Using the function onLoad.newHandler() you can register events to occur after the DOM has loaded completely. Use the following format: NOTE --- This handler only works with lambda function formats.
Ok, so I'm working on part of a larger project, and in trying to debug one aspect, I've got a small test file to work with. The code is practically identical (all important aspects match word for word ...