var userRows = new Array();
function removeUser(user) {
userRow = $("#user-"+user);
userRows[user] = userRow.html();
userRow.addClass("removed").html('<td>User removed</td>');
// I would give the td above the correct colspan
// Now the user will be removed using AJAX
}
When running the JavaScript/jQuery code above, somehow in FireFox the table row would become like 2px or so lower. In all other browsers this doesn't happen. How can I solve this?