action on button javascript code example Example: javascript button <button onclick="Function()">Text</button>