M
M
mishapsv2015-10-27 10:19:12
JavaScript
mishapsv, 2015-10-27 10:19:12

How to step by step show text on button click?

There is a text, let's say 5000 characters.
It is necessary that at first only 1000 characters (and ...) are visible and the "Next" button is shown.
When you clicked on the button, another 1000 characters were opened, and so on until all the text appears (the button disappears).
Just cutting off the text is not a problem, but it is not possible to show it in parts.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Wolf, 2015-10-27
@mishapsv

What a pity. Why are you using here <p>? Why are you using BOM class names manually?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question