T
t.nicolson
Hi there.
I'm basically trying to expand a form within a table dynamically.
To this end i've declared a placeholder within my table which i want to
fill out using a javascript.
eg.
<div id=some_section_of_my_page>
<table>
....some rows...
<div id=placeholder></div>
</table>
</div>
When I look at the page source, all is well. However, when I get my
javascript to get the innerHTML of some_section_of_my_page, I see
something like this.
<div id=placeholder></div>
<table>
....some rows...
</table>
unhelpfully moving my placeholder outside of the table.
This works on IE but fails with Firefox/Mozilla.
Any ideas? work arounds? Is this a problem with the DOM or the
function innerHTML?
Thanks in advance.
Tim
I'm basically trying to expand a form within a table dynamically.
To this end i've declared a placeholder within my table which i want to
fill out using a javascript.
eg.
<div id=some_section_of_my_page>
<table>
....some rows...
<div id=placeholder></div>
</table>
</div>
When I look at the page source, all is well. However, when I get my
javascript to get the innerHTML of some_section_of_my_page, I see
something like this.
<div id=placeholder></div>
<table>
....some rows...
</table>
unhelpfully moving my placeholder outside of the table.
This works on IE but fails with Firefox/Mozilla.
Any ideas? work arounds? Is this a problem with the DOM or the
function innerHTML?
Thanks in advance.
Tim