I'm attempting to remove three elements from a table cell upon clicking on the the last element in the cell, using the following code
$(".available > .delete").click(function(){ //alert($(this).prevAll().andSelf().length); $(this).prevAll().andSelf().remove(); }); This fails in Firefox 3b5. Length reports correctly as 3 but the removal does not happen. Appears to work correctly in IE6, have not tested in IE7, etc. Any chance this is a bug that I need to file, or am I just doing something completely incorrect and I'm just not seeing it. I'm not getting any errors when I run it, so as far as I can tell this is working correctly, just not in FF 3b5.