jquery add row to table via javascript dynamically

jquery add row to table via javascript dynamically

Hi All,

$.get("user_dynamic_connect.php",
function(data)
{
//user_connected
var user_table = window.parent.frames[1].document.getElementById("user_connected");

row=document.createElement("tr");
cell = document.createElement("td");
text_node=document.createTextNode("User's Currently Online are : " + data);
cell.appendChild(text_node);
row.appendChild(cell);
user_table.appendChild(row);
}
);

This Code works in Firefox 3.0 but in IE 8 the table doesn't get updated.

thanks
v.srinath