Created
September 28, 2015 10:54
-
-
Save bepatrickdavid/14fcbc4651b020f28173 to your computer and use it in GitHub Desktop.
jQUERY: click every x second
This file contains hidden or 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
var interval = null; | |
jQuery(function(){ | |
interval = setInterval(callFunc, 5000); | |
}); | |
function callFunc(){ | |
jQuery('.slick-next').trigger('click'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment