Hello,<br><br>I think I found the solution:<br><br>&nbsp;&nbsp;&nbsp; html div: [&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; html text: &#39;Select: &#39;.<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; html anchor<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; onClick: ((html jQuery expression: &#39;:checkbox:not(:checked)&#39;) trigger: &#39;click&#39; );<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; with: &#39;All, &#39;.<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; html anchor<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; onClick: ((html jQuery expression: &#39;:checkbox:checked&#39;) trigger: &#39;click&#39; );<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; with: &#39;None&#39; ].<br><br>This works perfectly :-)<br>
<br>Jan.<br><br><br><div class="gmail_quote">On Fri, Dec 12, 2008 at 2:53 PM, Jan van de Sandt <span dir="ltr">&lt;<a href="mailto:jvdsandt@gmail.com">jvdsandt@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello,<br><br>I&#39;m using Seaside 2.9, Squeak and the new Seaside JQuery support. I&#39;m creating a table where each row has a checkbox, just like GMail I want to provide a &quot;Select all&quot; and a &#39;Select none&quot; link. <br>

<br>My idea is to use JQuery to select or unselect all checkboxes:<br><br>&nbsp;&nbsp;&nbsp; html anchor<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; onClick: ((html jQuery expression: &#39;:checkbox&#39;) value: &#39;checked&#39;);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; with: &#39;All, &#39;.<br>

<br>The problem is that this adds the value=&quot;check&quot; attribute to all checkbox elements but I need the checked=&quot;checked&quot; attribute!<br><br>I also tried:<br><br>&nbsp;&nbsp;&nbsp; html anchor<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; onClick: ((html jQuery expression: &#39;:checkbox&#39;) do: [ :each | each click ]);<br>

&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; with: &#39;All, &#39;.<br><br>But this doesn&#39;t work because the JQueryInstance object has no click method.<br><br>Can anyone help me out?<br><font color="#888888"><br>Jan.<br>
</font></blockquote></div><br>