<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <font face="Georgia">I would give the row an id and then the render
      code can use the id to render in the right place.<br>
      <br>
      Cheers,<br>
      Bob<br>
      <br>
    </font>
    <div class="moz-cite-prefix">On 3/19/14 1:46 PM,
      <a class="moz-txt-link-abbreviated" href="mailto:dtrussardi@tiscali.it">dtrussardi@tiscali.it</a> wrote:<br>
    </div>
    <blockquote
      cite="mid:48CA350B-3FF1-46F9-A5BE-70A580D8C078@tiscali.it"
      type="cite">Hi,
      <div><br>
      </div>
      <div><span class="Apple-tab-span" style="white-space:pre"> </span>i
        have a table with some rows.</div>
      <div><br>
      </div>
      <div><span class="Apple-tab-span" style="white-space:pre"> </span>Any
        row is composed by some table data with some anchor , input
        field ecc....</div>
      <div><br>
      </div>
      <div><span class="Apple-tab-span" style="white-space:pre"> </span>Now
        my objective is to update the specific table row when the user
        click and change some relative data.</div>
      <div><br>
      </div>
      <div><span class="Apple-tab-span" style="white-space:pre"> </span>For
        example i have a table row with a &nbsp;table data defined as:</div>
      <div><br>
      </div>
      <div><span class="Apple-tab-span" style="white-space:pre"> html
          tableData:[ </span></div>
      <div><span class="Apple-tab-span" style="white-space:pre"> html
          anchor </span></div>
      <div><span class="Apple-tab-span" style="white-space:pre">
          onClick: ( </span><span class="Apple-tab-span"
          style="white-space:pre">(html jQuery ajax script: [ :script |</span></div>
      <div><span class="Apple-tab-span" style="white-space:pre"> </span><span
          class="Apple-tab-span" style="white-space:pre">script add: (((
          script jQuery: 'tr' ) </span><b>last</b><span
          class="Apple-tab-span" style="white-space:pre"> ) </span><span
          class="Apple-tab-span" style="white-space:pre"> html:[
          :renderer | self renderDataBaseTableDataFor: anItem value: </span>aValue<span
          class="Apple-tab-span" style="white-space:pre"> on: renderer
          ])])</span>]</div>
      <div><br>
      </div>
      <div><br>
      </div>
      <div><span class="Apple-tab-span" style="white-space:pre"> </span>With
        this code the <b>last</b> table row is right update when i
        click the anchor.</div>
      <div><br>
      </div>
      <div><br>
      </div>
      <div><span class="Apple-tab-span" style="white-space:pre"> </span>But
        when specific the table row index <span class="Apple-tab-span"
          style="white-space:pre"> </span>with:&nbsp;</div>
      <div><br>
      </div>
      <div><span class="Apple-tab-span" style="white-space:pre"> </span><span
          class="Apple-tab-span" style="white-space: pre; ">html
          tableData:[ </span></div>
      <div><span class="Apple-tab-span" style="white-space: pre; "> html
          anchor </span></div>
      <div><span class="Apple-tab-span" style="white-space: pre; ">
          onClick: ( </span><span class="Apple-tab-span"
          style="white-space: pre; ">(html jQuery ajax script: [ :script
          |</span></div>
      <div><span class="Apple-tab-span" style="white-space: pre; "> </span><span
          class="Apple-tab-span" style="white-space: pre; ">script add:
          ((( script jQuery: 'tr' ) </span><b>at: index</b><span
          class="Apple-tab-span" style="white-space: pre; "> ) </span><span
          class="Apple-tab-span" style="white-space: pre; "> html:[
          :renderer | self renderDataBaseTableDataFor: anItem value: </span>aValue<span
          class="Apple-tab-span" style="white-space: pre; "> on:
          renderer ])])</span>]</div>
      <div><br>
      </div>
      <div><br>
      </div>
      <div><span class="Apple-tab-span" style="white-space:pre"> </span>the
        browser report an<span class="Apple-tab-span"
          style="white-space: pre; "> </span>&nbsp;ajax jq error &nbsp; as
        management &nbsp;by my code:</div>
      <div><br>
      </div>
      <div><span class="Apple-tab-span" style="white-space:pre"> html
          document addLoadScript: (html jQuery ajaxSetup onError: ( html
          javascript alert: 'The session erase a jq error.'; refresh</span>&nbsp;<span
          class="Apple-tab-span" style="white-space:pre">))</span></div>
      <div><br>
      </div>
      <div><span class="Apple-tab-span" style="white-space:pre"> </span></div>
      <div><span class="Apple-tab-span" style="white-space:pre"> </span>What
        i wrong ? &nbsp;Because the<span class="Apple-tab-span"
          style="white-space:pre"> </span> at: index &nbsp; generate the
        error?</div>
      <div><br>
      </div>
      <div><span class="Apple-tab-span" style="white-space:pre"> </span>Anyone
        have some idea how i can manage the ajax row updating ?</div>
      <div><br>
      </div>
      <div><span class="Apple-tab-span" style="white-space:pre"> </span>Thanks
        for any consideration.</div>
      <div><br>
      </div>
      <div><span class="Apple-tab-span" style="white-space:pre"> </span>Dario</div>
      <div><br>
      </div>
      <div><br>
      </div>
      <div><span class="Apple-tab-span" style="white-space:pre"> </span></div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
seaside mailing list
<a class="moz-txt-link-abbreviated" href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a>
<a class="moz-txt-link-freetext" href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>