This isn't necessarily answering your question, but in the interest of
standards I thought I should point out that your table is not well formed.
There are header (<thead> and <th>), body (<tbody>), and footer (<tfoot>)
elements that you can and should use, as well as a caption (optional).
Your table should look something like this:
<table>
<caption>Description of the Table</caption>
<thead>
<thead>
<tr>
<th colspan="3">Header</th>
</tr>
</thead>
<tbody>
<tr>
<td>stuff</td>
<td>the most stuff</td>
<td>stuff</td>
</tr>
</tbody>
<tfoot>
<tr>
<td colspan="3">footer</td>
</tr>
</tfoot>
<table>
Cheers,
Jason
On Fri, May 30, 2008 at 11:58 AM, Skip Evans <[EMAIL PROTECTED]> wrote:
> 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>
>
> But this is not working. I guess the node itself is not the first node?
> Will keep working at it, but any hint would sure be appreciated.
>
> Incidentally, !!main_content!! is a placeholder value replaced via PHP with
> the initial content on page load.
>
> Thanks!
> Skip
>
>
> Thierry Koblentz wrote:
>
>>
>> Did you try without using innerHTML?
>> http://www.w3.org/TR/DOM-Level-3-Core/introduction.html
>>
>>
>>
> --
> 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]
> *******************************************************************
>
>
*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************