> How does this work...(This actually does what I want it to, but I am > amazed that JQuery can figure out how to select from an array)
If the incoming arg to $() is an array, it's assumed to be an array of DOM elements. That's what your get_selected_rows() returns, so jQuery creates an object that has those elements. However, it seems like you could do it with a single selector and no function: $("#sortable_table tbody :checkbox:checked").parent().parent().parent().parent().remove(); Instead of doing all those parent calls, you could do this if the parent element to be removed has a class like "item": $("#sortable_table tbody :checkbox:checked").parents(".item").remove(); At least I think that should work...give it a try and see.