Skip to content

Instantly share code, notes, and snippets.

@bepatrickdavid
Created September 28, 2015 10:54
Show Gist options
  • Save bepatrickdavid/14fcbc4651b020f28173 to your computer and use it in GitHub Desktop.
Save bepatrickdavid/14fcbc4651b020f28173 to your computer and use it in GitHub Desktop.
jQUERY: click every x second
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