Forum Moderators: open
Got a quick question. Is there a way to tell javascript to print and show it's html output?
For example
for (i=0; i<displayPicDirNum; i++) {
mainTableDisplay += '<tr>'
mainTableDisplay += checkTD(picDir[i],displayPicDirNum);
document.write (mainTableDisplay);
mainTableDisplay += '</tr>'
where mainTableDiplay is some <td> tags that it's going to use to add to the table row.
So I want to tell JS to print out a copy of the HTML output.
Like so on the page.
<tr>
<td> stuff</td>
</tr>
Hope I'm making sense.
Thanks
Jordan