ggallen
06-16-2004, 08:04 PM
ok. I'm building a test builder.
The initial table will be setup as: (empty)
<TABLE NAME="MAINTABLE">
</TABLE>
I will then want to "add" a question which will effectively add
the below code (not exactly) to the MAINTABLE Table.
<TR>
<TD Width=100%>
<TABLE NAME="QUES"+offset#>
<TR>
<TD WIDTH=50%><TEXTAREA NAME="TEXT"+offset#></TEXTAREA></TD>
<TD WIDTH=10%><SELECT NAME="TYPE"+offset#>...</SELECT></TD>
<TD WIDTH=40%>
<TABLE NAME="INFO+offset#>........</TABLE>
</TD>
</TR>
How would I go about adding complicated elements like the above to
a table using javascript (IE right now, that's the only browser being used).
looking for ideas, not exact code, as what I need added hasn't been
totally finalized yet. Once I get the idea of what I need to do, I should
be ok.
THanks
George
The initial table will be setup as: (empty)
<TABLE NAME="MAINTABLE">
</TABLE>
I will then want to "add" a question which will effectively add
the below code (not exactly) to the MAINTABLE Table.
<TR>
<TD Width=100%>
<TABLE NAME="QUES"+offset#>
<TR>
<TD WIDTH=50%><TEXTAREA NAME="TEXT"+offset#></TEXTAREA></TD>
<TD WIDTH=10%><SELECT NAME="TYPE"+offset#>...</SELECT></TD>
<TD WIDTH=40%>
<TABLE NAME="INFO+offset#>........</TABLE>
</TD>
</TR>
How would I go about adding complicated elements like the above to
a table using javascript (IE right now, that's the only browser being used).
looking for ideas, not exact code, as what I need added hasn't been
totally finalized yet. Once I get the idea of what I need to do, I should
be ok.
THanks
George