batty13
February 23rd, 2006, 10:24 PM
figured it out...
Thanks!
lokin
batty13
February 23rd, 2006, 11:14 PM
sorry about that.
the problem was the semicolons after each statement within the function.
function makeTable(n)
{
document.write("<table border='1'>")
for (var i=0;i<n;i++)
{
document.write("<tr><td><p>test</p></td></tr>")
}
document.write("</table>")
}
makeTable(50)