In jQuery, how do you get a function called every 5 seconds?

Asked 2 years ago, Updated 2 years ago, 43 views

I want to keep the function called every five seconds to slide the image automatically. But I don't know what to do. It's an urgent matter, please help me.

javascript jquery

2022-09-22 22:08

1 Answers

window.setInterval(function(){
  /// /// call your function here
}, 5000);


2022-09-22 22:08

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.