[Seaside] Changing button text on the fly?

Lukas Renggli renggli at gmail.com
Tue Sep 18 16:56:10 UTC 2007


> >> 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'.

html element id: 'theButton'; update: 'New Text'

Lukas

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


More information about the seaside mailing list