i saw on one of the railscasts that using unobtrusive javascript, you
attach your javascript to your page like so:

if your view is:

index.html.erb

you could add a page named:

index.js.erb

and that javascript would be included on the load for that page.

for some reason, it is not working for me..

is there something i need to do to trigger this behavior?

thanks!

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to