rubyonrailsin

A Ruby and Rails talk

Wednesday, March 10, 2010


[Rails] Re: How to hide an object???

by rubyonrailsin 0 comments



Share this post:
Design Float
StumbleUpon
Reddit

On Mar 10, 3:51 pm, Robert Walker <li...@ruby-forum.com> wrote:
> Guille San wrote:
> > Hi
> > I only have one question more. How can I do this example with prototype:
>
> > Example in jQuery
> > -------------------
> > $(document).ready(function() {
> >   $('#my_element').hide();
> > });
>
> I wish Prototype had this built-in. However, it's pretty easy to add the
> onDOMReady extension script and then use the following:
>
Isn't that what prototype's dom:loaded event does (http://
www.prototypejs.org/api/document/observe )

Fred

--
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

Subscribe feeds via e-mail

Blog Archive