[Seaside] SU - insert, remove, hide, show

Lukas Renggli renggli at gmail.com
Thu Dec 6 18:33:33 UTC 2007


> Is this the right way to insert an X into a list of X's (for the cases where
> static html ids will work)?

It depends what you want to do. SUElement has many other cool methods
to change your DOM elements.

> Is there an SU equivalent to remove, hide, and show an element?

The methods are called #remove, #hide and #show.

Have a look at SUElement and at the Prototype API
http://www.prototypejs.org/api/element.

Lukas

-- 
Lukas Renggli
http://www.lukas-renggli.ch


More information about the seaside mailing list