Other editors such as the Content Editor and the Bubble Editor have the same dependency regarding more/fewer columns like the Row Editor. To learn more, see our tips on writing great answers. margin: 30px auto; '' + The button also needs its onclick event to call the function productDelete (). Making statements based on opinion; back them up with references or personal experience. $(this).parents("tr").find("td:not(:last-child)").each(function(){ Bootstraps .button styles can be applied to other elements, such as