Posts by pxntxs. • 165 points
3 posts
-
3
votes1
answer63
viewsQ: How to transform the text of a div into lines with <p>
Suppose you have one div, and that it has an enormous text, and you would like each line to be transformed into <p>. How would it work? What I really want is, at the beginning of every line of…
-
3
votes3
answers167
viewsQ: How to know if at the beginning of a <p> they have "x" character?
Hello, I am a layman in JS/Jquery, but I believe that is where I will be able to do what I want. I don’t know if many have used 4chan, but there is a function where, if the user uses the ">" at…
-
10
votes2
answers2050
viewsQ: How to show only "x" characters in a div?
Hello, I am developing a system where will be publications, but I would like that, in each publication, shows "x" characters, and passing of this value, shows a button written "Show more", same as…