[seaside-dev] checkbox onChange

Hernan Wilkinson hernan.wilkinson at gmail.com
Thu Apr 8 21:13:39 UTC 2010


thank you!!


On Thu, Apr 8, 2010 at 5:55 PM, Lukas Renggli <renggli at gmail.com> wrote:

> > This behavior is not the same for a select. The first code works ok with
> a
> > select.
> > Does anybody know why? It looks like serializing only the checkbox is not
> > enought to trigger the checkbox's callback...
>
> Yes, see the method comment of the method #serializeThis.
>
> JQAjax>>serializeThis
>        "Serialize the receiving element. Note that this might not work for
> all form elements: (1) for check-boxes and multi-select lists Seaside
> internally depends on an additional hidden form element that is
> generated automatically, instead use #serializeThisWithHidden (2)
> submit-button callbacks are ignored, instead use a normal callback to
> trigger specific code evaluation."
>
>        self serialize: self jQuery this
>
> Lukas
>
> --
> Lukas Renggli
> www.lukas-renggli.ch
> _______________________________________________
> seaside-dev mailing list
> seaside-dev at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside-dev/attachments/20100408/b9587b84/attachment.htm


More information about the seaside-dev mailing list