[HTML_AJAX-devel] Using Replace Node and Actions

Dr Who drwho85 at hotmail.com
Sun Dec 10 16:31:54 PST 2006


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



More information about the Html_ajax-devel mailing list