Hi,
I am generating a HTML table dynamically with the following code:
for(i=0; i<noRows; i++) {
current_cell=document.createElement("TD");
current_text=document.createTextNode('-');
current_cell.appendChild(current_text);
row.appendChild(current_cell);
}
I call this function onload. The problem arises when i need to save the page. I need to have a - save as HTML option. When I do save as HTML page, it doesnt save the generated content.
How can i solve this ? Any suggestions ?
Thanks.
I am generating a HTML table dynamically with the following code:
for(i=0; i<noRows; i++) {
current_cell=document.createElement("TD");
current_text=document.createTextNode('-');
current_cell.appendChild(current_text);
row.appendChild(current_cell);
}
I call this function onload. The problem arises when i need to save the page. I need to have a - save as HTML option. When I do save as HTML page, it doesnt save the generated content.
How can i solve this ? Any suggestions ?
Thanks.