Click here to Skip to main content
15,795,789 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi, How can I execute the auto click function when my webpage is load in a browser after 5 seconds? The auto-click function executes one click at a time in any part of my webpage(body area).

What I have tried:


$(function(){
window.location.href = $('.className').attr('href');
});
Posted
Updated 1-May-21 22:13pm

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900