On Mar 10, 3:51 pm, Robert Walker <[email protected]> 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 [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.

Reply via email to