<div dir="ltr">I might have forgotten a script add: so if the above does not work try<div><br></div><div><span style="font-family:arial,sans-serif;font-size:13px">[:script | script add: ( (script jQuery: #id2) after: [:xhr | xhr</span><br style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:arial,sans-serif;font-size:13px">tableRow: [ &quot;...&quot;]) ] ]</span><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 19 August 2014 07:58, Ryan Simmons <span dir="ltr">&lt;<a href="mailto:ryan.craig.simmons@gmail.com" target="_blank">ryan.craig.simmons@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I would try something like<div><br></div><div><span style="font-family:arial,sans-serif;font-size:13px">tag onClick: (</span><br style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:arial,sans-serif;font-size:13px">  (html jQuery ajax script: [:script | (script jQuery: #id2) after: [:xhr | xhr</span><br style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:arial,sans-serif;font-size:13px">tableRow: [ &quot;...&quot;] ] ]</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">)</span><br>

</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On 19 August 2014 06:59, Esteban A. Maringolo <span dir="ltr">&lt;<a href="mailto:emaringolo@gmail.com" target="_blank">emaringolo@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Is there a way I can pass an generated html to the after() jQuery function?<br>
<br>
I have the following html:<br>
<br>
&lt;table&gt;<br>
&lt;tr id=&quot;id1&quot;&gt;...&lt;/tr&gt;<br>
&lt;tr id=&quot;id2&quot;&gt;...&lt;/tr&gt;<br>
&lt;tr id=&quot;id3&quot;&gt;...&lt;/tr&gt;<br>
&lt;tr id=&quot;id4&quot;&gt;...&lt;/tr&gt;<br>
&lt;/table&gt;<br>
<br>
I want that, via a click handler, load another table row after row<br>
with id #id2 or #id3.<br>
<br>
If in the following command line works:<br>
$(&quot;#id2&quot;).after(&#39;&lt;tr&gt;...&lt;/tr&gt;&#39;);<br>
<br>
<br>
But in Seaside I would like to do something like:<br>
tag onClick: (<br>
  (html jQuery: #id2) after: (html jQuery load html: [:xhr | xhr<br>
tableRow: [ &quot;...&quot;] ])<br>
)<br>
<br>
This load the generated html, but appends it to end of the table<br>
instead of doing it after #id2 as I would expect.<br>
<br>
Any pointers about this?<br>
<br>
I&#39;m trying to build an &quot;expansible&quot; table (drill-down style, like a<br>
tree), but rendering each row children on demand. Maybe there already<br>
exists a component for this purpose.<br>
<br>
Regards!<br>
<span><font color="#888888"><br>
Esteban A. Maringolo<br>
_______________________________________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org" target="_blank">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>
</font></span></blockquote></div><br></div>
</div></div></blockquote></div><br></div>