On Mon, Sep 21, 2009 at 2:37 PM, Abhishek shukla <[email protected]> wrote: > Hello Friends, > > I am using jRails no prototype.js. rails helper are working fine but > problem with the spinner. > Element.show('#spinner');", is not working. > > It will be great is someone can help me.
Using jRails means your app now uses jQuery instead of Prototype/Scriptaculous. So you need to write your Javascript in jQuery style. jQuery( '#spinner' ).show(); should work. -- Greg Donald http://destiney.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 -~----------~----~----~----~------~----~------~--~---

