Hi Everyone,
I'm having a strange problem and haven't been able to find anything about it anywhere. I am using the JQuery remove method on a table row and while it is removing it, it is still leaving a small amount of space where the row used to be. It's hardly even noticeable if I only remove a row or two, but when I remove more you can definitely tell. The CSS for the table is:
/*CSS*/
#results{margin-top:10px;}
#results table{width:750px;empty-cells:show;border-collapse:collapse;}
#results table tr td{cursor:pointer;}
tr.selected{background-color:#FAFAD2;}
/*JQuery*/
$("#btnRemove").click(function(){
$("#results table tr.selected").remove();
});
Any suggestions?