Thank you! It works, yes! The problem was, that the response from my server contained another element (div):
<tr><td>....</td></tr> <div>...</div> Of course that's not well-formed. All browsers ignore it, except Chrome. So I moved the div and everything is fine now! Thx, Patrick On 1 Aug., 12:59, "T.J. Crowder" <t...@crowdersoftware.com> wrote: > Hi, > > That code works for me using Chrome 5:http://jsbin.com/opafu3 > > Maybe you can see what's different between the above and your test > case... > -- > T.J. Crowder > Independent Software Consultant > tj / crowder software / comwww.crowdersoftware.com > > On Jul 30, 8:22 pm, patrick <badmoj...@googlemail.com> wrote: > > > > > Hi to all, > > > I've got to update a <tbody>-Container with appending another row via > > XHR. That works perfect in IE6-8, Safari and FF, but does not work in > > Google's Chrome 5. I'm using Prototype 1.6.1. > > > Here is some sample code: > > > -------------- > > <table> > > <tbody id="test_container"> > > <tr> > > <td>bla bla</td> > > </tr> > > </tbody> > > </table > > > <a href="#" onclick="new Ajax.Updater('test_container', 'example/url', > > {asynchronous:true, evalScripts:true, insertion:'bottom'}); return > > false;">Link Text</a> > > -------------- > > > The URL 'example/url' outputs something like "<tr><td>another row > > content</td></tr>". > > > If <tbody> is empty this works also in Chrome, if not -like in the > > example- it doesn't. > > Any ideas or hints? > > > Thank you very much, > > Patrick -- You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptacul...@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.