Ruby on Rails Friday, July 2, 2010

You can see this being the error

Modalbox.hide();();

Use this way

render :update do |page|
page << 'Modalbox.hide();'
end

OR this..

render :update do |page|
page.call 'Modalbox.hide'
end


regards,
Sur
http://crimson9.com


On Jul 2, 10:37 am, Chris Kalaboukis <li...@ruby-forum.com> wrote:
> can anyone help me here. i assume that there is a way to do this...
> --
> Posted viahttp://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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment