simulate click on button javascript code example Example: js simulate click document.getElementById('elementID').click();