<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hey Joachim,<div class=""><br class=""></div><div class="">It you do “html jQuery document” instead of “html jQuery this”, you are attaching the handler to the document.</div><div class="">Do you mean that this is needed in your case, or did it not work with “this” ?</div><div class="">Because it should work with “html jQuery this” if all your items are below that orderedList</div><div class=""><br class=""></div><div class="">The missing bracket is indeed the result of programming in the mail app :)</div><div class=""><br class=""></div><div class="">cheers</div><div class="">Johan</div><div class=""><br class=""></div><div class=""><div><blockquote type="cite" class=""><div class="">On 11 Feb 2017, at 15:02, <a href="mailto:jtuchel@objektfabrik.de" class="">jtuchel@objektfabrik.de</a> wrote:</div><br class="Apple-interchange-newline"><div class="">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" class="">
<div bgcolor="#FFFFFF" text="#000000" class="">
<div class="moz-cite-prefix">Hi Johan,<br class="">
<br class="">
<br class="">
<blockquote cite="mid:c4e2d50f-5a5a-fc1c-a953-ec7300740357@objektfabrik.de" type="cite" class="">
<blockquote cite="mid:5E381FCE-B7FA-4636-B09F-BACF5A1C8B02@inceptive.be" type="cite" class="">
<div class="">| idToReRender |</div>
<div class="">
<div class="">html orderedList</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"> </span>script:
(html jQuery this </div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"> </span>on:
‘click’</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"> </span>selector:
‘.mylistItemClass’ </div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"> </span>do:
((html jQuery ajax</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"> </span>callback:
[:listitemId | … idToReRender := listitemId ... ]</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"> </span>value:
(((html javascript alias: ‘event’) access: ‘target’)
access: ‘id’));</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>script:
[:s | s << ((s jQuery id: idToReRender) html: [:h |
self renderMyRowWithId: idToReRender ]) ]</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"> </span>asFunction:
#(event))</div>
</div>
<div class=""><br class="">
</div>
</blockquote>
</blockquote>
<br class="">
<br class="">
<br class="">
What can I say? Apart from a missing bracket and the fact that it
is not "html jQuery this", but "html jQuery document", your code
just works. Incredible. Thanks!<br class="">
<br class="">
If you ever need an idea for a second career, please consider
giving Seaside/Ajax courses...<br class="">
<br class="">
Joachim<br class="">
<br class="">
</div><p class=""><br class="">
</p>
<pre class="moz-signature" cols="72">--
-----------------------------------------------------------------------
Objektfabrik Joachim Tuchel <a class="moz-txt-link-freetext" href="mailto:jtuchel@objektfabrik.de">mailto:jtuchel@objektfabrik.de</a>
Fliederweg 1 <a class="moz-txt-link-freetext" href="http://www.objektfabrik.de/">http://www.objektfabrik.de</a>
D-71640 Ludwigsburg <a class="moz-txt-link-freetext" href="http://joachimtuchel.wordpress.com/">http://joachimtuchel.wordpress.com</a>
Telefon: +49 7141 56 10 86 0 Fax: +49 7141 56 10 86 1
</pre>
</div>
_______________________________________________<br class="">seaside mailing list<br class=""><a href="mailto:seaside@lists.squeakfoundation.org" class="">seaside@lists.squeakfoundation.org</a><br class="">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside<br class=""></div></blockquote></div><br class=""></div></body></html>