Hi all,
i am trying to add a row (tr) to a table via Mochikit Dom's
appendChildNode
my method looks like this:
if(table.rows.length == 0)
{
log("table has no rows!");
var r = TR(null, TD(null, "11"), TD(null, "12"));
appendChildNodes(table, r);
}
first of all, the table.rows.length is 0 even after a row has been
added. rows keep getting added on Firefox.
second of all, this code doesnt work in IE. Nothing happens.
Am i doing something wrong?
Regards,
Saqib
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---