The code that causes this is:
--- javascript ----
function addRow()
{
var table = getTable();
if(table.rows.length == 0)
{
log("table has no rows!");
var r = TR(null, TD(null, "11"), TD(null, "12"));
appendChildNodes(table, r);
}
}
function getTable()
{
return document.getElementById('targetTable');
}
---- html code ----
<table id = "targetTable">
</table>
<p>
<button onclick="addRow()"> Add Row </button>
</p>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"MochiKit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/mochikit
-~----------~----~----~----~------~----~------~--~---