[Seaside] change element property client side

Leandro Pérez lperez at lifia.info.unlp.edu.ar
Tue Jul 3 18:50:43 UTC 2007


Hi,
Most probably, this question has already been answered, but i cant find it
:S, so..

I want to change an element's property when a javascript event occurs, e.g.
the src property of an img html element must be changed when the onclick
event of that image is triggered, but i want to do it client side. 

I can use an updater or an evaluator and render the whole element from
scratch, in its parent element, with the new property value. The same
applies when i want to add/remove an elements property...

What is the best way to achieve this? 

regards and thanks a lot
Leandro
-- 
View this message in context: http://www.nabble.com/change-element-property-client-side-tf4020240.html#a11418409
Sent from the Squeak - Seaside mailing list archive at Nabble.com.



More information about the Seaside mailing list