trigger click event javascript bt id example Example: js trigger click var element = document.getElementById('element'); element.click();