Yes, you serialize the form which means it involves both checkboxes. On your scenario both callbacks should be triggered: the checked one with true, the unchecked with false.<br><br>Btw, you do not need the IDs. For the AJAX just use (html jQuery ajax serializeForm). You don&#39;t want to load anything into the checkbox.<br>
<br>Lukas<br><br>On Saturday, 24 September 2011, Alexander Lazarević &lt;<a href="mailto:laza@blobworks.com">laza@blobworks.com</a>&gt; wrote:<br>&gt; Hi!<br>&gt;<br>&gt; I&#39;m using something like the following in my code:<br>
&gt;<br>&gt; renderContentOn: html<br>&gt;        | id |<br>&gt;        html form: [<br>&gt;                id := html nextId.<br>&gt;                html checkbox<br>&gt;                        id: id;<br>&gt;                        onChange: (html jQuery id: id) load serializeForm;<br>
&gt;                        value: self isChecked;<br>&gt;                        callback: [:value | value inspect].<br>&gt;                html text: &#39;Check me&#39;.<br>&gt;                id := html nextId.<br>&gt;                html checkbox<br>
&gt;                        id: id;<br>&gt;                        onChange: (html jQuery id: id) load serializeForm;<br>&gt;                        value: self isChecked2;<br>&gt;                        callback: [:value | value inspect].<br>
&gt;                html text: &#39;Check me 2&#39;.<br>&gt;        ]<br>&gt;<br>&gt; I&#39;m surprised to see that both callbacks get triggered even if I only<br>&gt; check one checkbox. Is this on purpose and expected? According to<br>
&gt; Metacello I&#39;m using Seaside 3.0.6<br>&gt;<br>&gt; Alex<br>&gt; _______________________________________________<br>&gt; seaside mailing list<br>&gt; <a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
&gt; <a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>&gt;<br><br>-- <br>Lukas Renggli<br><a href="http://www.lukas-renggli.ch">www.lukas-renggli.ch</a><br>