[Seaside] change element property client side
renggli at gmail.com
Wed Jul 4 05:50:09 UTC 2007
> I'm a little bit confused, i guess what you're doing in this example is to
> change the css class of an element and thus, changing its style.
> But what i need to do is to change an element's inherent property such as
> src of img, or href in an anchor, i.e. a non-css property..
> My knowledge about html and css is limited, perhaps the kind of properties
> i'm trying to change can be changed with css...??
Yes, the image can be set and changed using a CSS class and the
In the latest version of Scriptaculous you can write:
onClick: (html element
>From the commit log:
Time: 4 July 2007, 7:49:17 am
- added #assign: and tests
Hope this helps,
More information about the Seaside