how to delete all rows in a HTML table code example Example: delete all the rows of table javascript $("#table_of_items tr").remove();