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