maqskywalker
asked on
trigger button to click button onlye once after 5 seconds
On my page in jquery page load I have this code which clicks this button every 5 second using this code:
How do I revise it to only click the button only once. So it should click it only once and that will occur 5 seconds after page load.
Any one know the syntax?
I'm using jquery 1.10.1
// triggers click every after 5 seconds
setInterval(function () {
("#Button1").click();
}, 5000);
How do I revise it to only click the button only once. So it should click it only once and that will occur 5 seconds after page load.
Any one know the syntax?
I'm using jquery 1.10.1
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.