[Seaside] Changing button text on the fly?
rbb at techgame.net
Tue Sep 18 16:22:41 UTC 2007
On Sep 18, 2007, at 12:42 AM, Lukas Renggli wrote:
>> I would like this to happen without submitting a form, but just use
>> the ajax callback.
> html element id: 'theButton'; access: 'value'; assign: 'New Text'
Thanks for responding Lukas. This works great for a input type=submit
style, but not for a <button></button> tag. Do you have any idea what
attribute I would access to change the content? 'value' doesn't do
it, nor does 'text'.
>> I think a similar technique would be useful for
>> swapping out images on an image button for the click, hover, and
>> normal states.
> html effect id: 'altesBild'; hide
> html effect id: 'neuesBild'; show
Great! Thank you.
> Lukas Renggli
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
More information about the seaside