[Rails] Re: Rails 3, How do I set an :onload for a link_to :remote?

2010-12-27 Thread Niels G.
I had this same question. I found a good answer here: http://www.simonecarletti.com/blog/2010/06/unobtrusive-javascript-in-rails-3/ good luck -- 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

Re: [Rails] Re: Rails 3, How do I set an :onload for a link_to :remote?

2010-10-06 Thread radhames brito
i have an example app that uses unobstrusive javascript but is running jquery, take a look and ask any questions you want. http://github.com/rbritom/Simple_polymorphic_nested_comments -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To po

[Rails] Re: Rails 3, How do I set an :onload for a link_to :remote?

2010-10-06 Thread Jim
Can anybody provide code/samples/details on how to do this? On Oct 3, 3:07 pm, Jim wrote: > I'm using Prototype.  I mainly want to use the equivalent of :onload > to show a processing graphic, and :condition to check the value in an > input field to see if a request should be sent off to the ser

[Rails] Re: Rails 3, How do I set an :onload for a link_to :remote?

2010-10-03 Thread Jim
I'm using Prototype. I mainly want to use the equivalent of :onload to show a processing graphic, and :condition to check the value in an input field to see if a request should be sent off to the server. On Oct 3, 1:42 pm, radhames brito wrote: > On Sun, Oct 3, 2010 at 1:37 PM, Jim wrote: > >

Re: [Rails] Re: Rails 3, How do I set an :onload for a link_to :remote?

2010-10-03 Thread radhames brito
On Sun, Oct 3, 2010 at 1:37 PM, Jim wrote: > Can you tell me exactly how I would go about doing this? Code sample > perhaps. Or any resources that have that information? > > I already know about the changes to remove the legacy link_to_remote > and other remote helpers, but I haven't found any

[Rails] Re: Rails 3, How do I set an :onload for a link_to :remote?

2010-10-03 Thread Jim
Can you tell me exactly how I would go about doing this? Code sample perhaps. Or any resources that have that information? I already know about the changes to remove the legacy link_to_remote and other remote helpers, but I haven't found any resources that tell me more details on how to fully us