Thierry Koblentz wrote:
And the node looks like this:

<div id="newsnode">!!main_content!!</div>

Try this:

var maincontent=document.getElementById('newsnode');
maincontent.firstChild.data="Hello World!";


That is not changing the content of the div tag, or anything on the screen.


--
Skip Evans
Big Sky Penguin, LLC
503 S Baldwin St, #1
Madison, WI 53703
608-250-2720
http://bigskypenguin.com
=-=-=-=-=-=-=-=-=-=
Check out PHPenguin, a lightweight and versatile
PHP/MySQL, AJAX & DHTML development framework.
http://phpenguin.bigskypenguin.com/


*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to