Avada Forums Community Forum Change text when user clicks button

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • KristofferRasmussen
    Participant
    Post count: 1

    Hello!

    I’m looking for a way to dynamically change the content of a container (or textblock) when the user interacts with a button.

    EXAMPLE: in the image below I would like the content (text) in the GREEN BOX to change when the user clicks any of the buttons in the RED BOX

    EXAMPLE

    I’ve searched for plugins to do so, but with no luck. Do anyone have experience with this, or can lead me in the right direction?

    Thanks in advance!

    marklchaves
    Participant
    Post count: 873

    Hi,

    You can do this with a bit of Javascript.

    See a live demo code example.

    Thanks!

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.