JS and Rails site wide announcements

Posted by pcasa on Stack Overflow See other posts from Stack Overflow or by pcasa
Published on 2010-06-12T19:13:14Z Indexed on 2010/06/12 19:23 UTC
Read the original article Hit count: 340

Filed under:
|
|

Tried doing http://davidwparker.com/2008/09/17/site-wide-announcements-in-rails-using-jquery-jgrowl/

Am really bad with JS. Think I am messing up on the last part where it says "This code goes in your application.js file (somewhere in $(function){ //here })"

Am I not suppose to do a link_to_function and create a function with this code that references that link?

Really lost on this one.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about ruby-on-rails