try it without the single quotes around bottom

ie:

top.opener.document.getElementById('body_wieder_komp_1').insert({bottom:wieder_row});

and to really clean it up:

$('body_wieder_komp_1').insert({bottom: wieder_row});

should do it

On Feb 26, 2:13 am, ferengi <fere...@evo-x.de> wrote:
> hi...
>
> i insert a tbody and give him a id..look here
>
> <table id="wieder_komp_1" class='fixed cellg1' style="margin-top:1px"
> cellspacing="1" cellpadding="0">
> <tbody id="body_wieder_komp_1">
> <tr class="cellg3 f10">
>         <td class="center cellg1" width="20px">&nbsp;</td>
>         <td class="center" width="170px">SAP-Typ</td>
>         <td class="center" width="70px">Material-Nr</td>
>         <td class="center" width="70px">PA</td>
>         <td class="center" width="650px">von - bis</td>
>         <td class="center cellg1" width="20px">&nbsp;</td>
> </tr>
> ......
>
> an change the script to
>
> wieder_row ='<tr id="wieder['+c+']" style=""><td class="center"
> colspan="4">test</td></tr>';
> top.opener.document.getElementById('body_wieder_komp_1').insert({'bottom':wieder_row});
>
> same error .....

-- 
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.

Reply via email to