Bernat Romagosa <
[hidden email]> writes:
> Hi list,
>
> I'm looking for a way to force a widget to mark itself dirty by using
> client-side Javascript.
>
> Creating a url for [ self markDirty ] and putting it into an href
> attribute is not enough, for our particular needs it should be put
> inside an onclick attribute instead.
What about this:
self onClickDo: [ self markDirty ]
It will attach the callback on the onclick event.
Cheers,
Nico
>
> Is there a way to do so?
>
> Thanks!
>
> Bernat.
>
> --
> Bernat Romagosa.
>
>
--
Nicolas Petton
http://nicolas-petton.fr