to chain methods you have to do something like the following:
$('element').previous().hide()

this is different to:
$('element').previous.hide()

the second example doesn't work I wondered if there was a way to write
it this way rather than the first...
My understanding is that without the brackets javascript returns the
function object rather than executing it, is this just how it has to
be?

-- 
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" 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/prototype-scriptaculous?hl=en.

Reply via email to