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.
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 ...