Two expandable text boxes on same page

I added a code for one expandable text box with a show more-show less button and it is working fine.
Now I want to add another expandable text box to the same page, but not sure how to add the code for this one.
Anyone has an idea?

It will be pretty much as the first one. Two event functions

Hi!

As Carlos said, simply add another onClick event or just duplicate the code with the relevant element references.

Doron.

1 Like

Thanks Doron!

1 Like