Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var $domNodeToIterateOver = $('.del-button .option .yes'),
- currentTime = 0,
- timeInterval = 1500;
- $domNodeToIterateOver.each(function() {
- var _this = $(this);
- currentTime = currentTime + timeInterval;
- setTimeout(function() {
- _this.click();
- }, currentTime);
- });
Add Comment
Please, Sign In to add comment