Hi! I have some issues figuring out how to do this (like, at all), and I’d greatly appreciate being pointed in the right direction. :D

I’m working on a generator with multiple outputs. Now, I know how to update them on click separately, no big deal. What I want for this generator is one output that auto-updates every few seconds to display a different item from its list.

Let’s say the list’s name is “quote” and the output div’s ID is “quotes”. (Not linking the generator in question because it’s too work-in-progress-y and full of placeholders)

(One day I’ll be proficient enough in JavaScript to figure these things out by myself, I swear!)

Thank you so much in advance!

  • allo
    link
    English
    210 months ago

    setInterval(function(){update(quotes)},1000)

    • Diana47OP
      link
      English
      210 months ago

      Thank you! :D

      • allo
        link
        English
        110 months ago

        deleted by creator