I am not sure if this can be achieved using Javascript, and any help or suggestions that were highly appreciated.
Here is the scenario: let's say I have content (all text) that lasts 6 paragraphs. The content is dynamically pulled out of the database immediately (this means that all 6 paragraphs are displayed through a single variable, so I could not change it).
I need to do this, show the first two paragraphs at the top of the page, then show the other content, and then show the rest of the paragraphs below the other content.
So content = 6 Points
Paragraph One
Paragraph Two
SOME OTHER COOL STUFF IN BETWEEN
Paragraph Three
Paragraph ...
Paragraph Six
Is it possible to break this content into Javascript. Items are displayed inside p-tags.
source
share