How do I programmatically click a link with javascript?

document.getElementById('yourLinkID').click();

Leave a Comment