[Seaside] Changing button text on the fly?
ramon.leon at allresnet.com
Tue Sep 18 16:44: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'.
You can easily say
onClick: 'this.innerText = "BlaBla"'
strings, so don't get stuck trying to figure out how to express everything
in Smalltalk. Sure, it's nice, but sometimes you just need to drop into
More information about the seaside