I register ajax listeners in my application.js in the dom:loaded
function. In some of my views I also need to use the dom:loaded event
to do other javascript stuff. Since I already have my dom:loaded in
application.js, can I specify another dom:loaded in the script tag in
my view or is there a better way to do it?
I know this could be a prototype question, but since this is rails, I
thought someone might have tried this already.
Thanks