auto click event in jquery code example Example: javascript automatic click const element = document.querySelector('element'); element.click();