For instance, I'd like to get something like this: in document.write
<form>
<table>
<tr>
<td align="right">Subtotal:</td>
<td align="left"><form name = "e" id ="e"><input type="text" id="subtotal" /></td>
</tr>
<tr>
<td align="right">Sales Tax:</td>
<td align="left"><form name = "f" id = "f"><input type="text" id="tax" /></td>
</tr>
<tr>
<td align="right">Total:</td>
<td align="left"><form name = "g" id = "g"><input type="text" id="total" /></td>
</tr>
</table>
</form>
I tried something like
document.write("paste whole code here");
Didn't work.