How to insert into a table when a button is clicked? javascript code example Example: javascript button <button onclick="Function()">Text</button>