> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
> Behalf Of Skip Evans
> Sent: Thursday, May 29, 2008 6:58 PM
> To: wsg@webstandardsgroup.org
> Subject: Re: [WSG] innerHTML assignment overflows TD cell in FF
> 
> Hey,
> 
> I see from reading up that innerHTML is not really
> standard, and not the best way to go. Was not
> aware of that and from the doc you send am now
> working on this:
> 
> var maincontent=document.getElementById('newsnode');
> maincontent.firstChild.nodeValue=ret;
> 
> And the node looks like this:
> 
> <div id="newsnode">!!main_content!!</div>

Try this:

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


-- 
Regards,
Thierry | http://www.TJKDesign.com






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

Reply via email to