Interessting, thank you very much! :)<br><br><div class="gmail_quote">On Mon, Oct 12, 2009 at 8:32 AM, Lukas Renggli <span dir="ltr"><<a href="mailto:renggli@gmail.com">renggli@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">> Is something like the following actually possible at all?<br>
> html div onClick: (html jQuery this attributeAt: 'title' put: (html jQuery<br>
> ajax loadValue: [ :s | s nextPutAll: #{test -> 1}]))<br>
<br>
</div>No, this is not possible. Ajax calls do not have a return value,<br>
unfortunately there are no continuations in Javascript.<br>
<br>
You can achieve the same the other way round though:<br>
<br>
html div<br>
onClick: (html jQuery ajax<br>
script: [ :s | s add: (s jQuery this attributeAt: 'title' put:<br>
#test -> 1) ]);<br>
with: 'Click me'<br>
<div><div></div><div class="h5"><br>
Lukas<br>
<br>
--<br>
Lukas Renggli<br>
<a href="http://www.lukas-renggli.ch" target="_blank">http://www.lukas-renggli.ch</a><br>
_______________________________________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
</div></div></blockquote></div><br>