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