The settimeout function will wait for 1second to execute the next statement of java script or jquery
$('.bx-controls-direction').find('.bx-prev').click();
setTimeout(function(){
$('.bx-controls-direction').find('.bx-next').click();
},1000);
$('.bx-controls-direction').find('.bx-prev').click();
setTimeout(function(){
$('.bx-controls-direction').find('.bx-next').click();
},1000);
0 comments:
Post a Comment