trigger a button click with javscript code example Example: javascript trigger click on element document.getElementById('myElementID').click();