[HTML_AJAX-devel] Using Replace Node and Actions
Joshua Eichorn
josh at bluga.net
Mon Dec 11 10:22:56 PST 2006
You can't use innerHTML with tr's, you have to do it against specific td's
-josh
Dr Who wrote:
> This does not seem to work for me
>
> $haa->replaceNode('Gi4yNO9Kvdc%3D', 'tr', array('innerHTML' => '<td
> colspan="6"> It Worked </td>'));
>
> When the code executes only the text "It Worked" is placed it the tr.
> The td's are being stipped out.
>
> What am I missing?
>
> What I need to do is replace certain rows of a table with a new
> updated row every few minutes or so.
>
> Is replaceNode the best way to do this? The data in the rows td's are
> complex and contain both text, objects (Flash) and div's. So for this
> reasons I thought the best thing to do would be to provide the correct
> html to be substituted..
>
> Any help would be greatly appreciated.
>
> Thanks
>
> DW
>
> _________________________________________________________________
> Windows Live™ Messenger has arrived. Click here to download it for
> free! http://imagine-msn.com/messenger/launch80/?locale=en-gb
>
> _______________________________________________
> Html_ajax-devel mailing list
> Html_ajax-devel at lists.bluga.net
> http://lists.bluga.net/mailman/listinfo/html_ajax-devel
More information about the Html_ajax-devel
mailing list