Hi, I am hitting something quite strange. When I try to add a comment "<!-- comment -->" to a <tr> element, it either remove all the <td> tags (if the comment is at the beginning of the string) or get ignored if the comment is at the end.
So, let's say I have a simple table <table> <tr id="myTr"> <td>cell1</td> <td>cell2</td> </tr> </table> Doing: $("#myTr").html("<!-- refreshed row --><td>newCell1</ td><td>newCell2</td>"); Will result in just "newCellnewCell2" inside the <tr>. All tds disappeared and the guilty comment went away as well. Using innerHTML seems to work better, but I would prefer standardizing on $.html(), $.append(), ... regardless of the container tag. Thank you for any help. I run Firefox 3.0.1 on Win7/64bit. Jeremy, -- You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to jquery-...@googlegroups.com. To unsubscribe from this group, send email to jquery-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en.