Created
August 15, 2010 19:45
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$LAB.script("http://code.jquery.com/jquery.js").wait(function () { | |
var tally = 0; | |
jQuery(function () { | |
function loopClickEmToRunEm() { | |
setTimeout(function () { | |
jQuery('#button_1').trigger('click'); | |
}, 0); | |
setTimeout(function () { | |
jQuery('#button_2').trigger('click'); | |
}, 3000); | |
setTimeout(function () { | |
jQuery('#button_3').trigger('click'); | |
}, 6000); | |
setTimeout(function () { | |
console.log(tally++); | |
loopClickEmToRunEm(); | |
}, 9000); | |
} | |
setTimeout(function () { | |
loopClickEmToRunEm(); | |
}, 1000); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Added
var tally = 0;
andconsole.log(tally++);