I'm trying to get the value of the first and second line from a textarea in HTML.
The main problem is that the first and second line can be of different lengths, so I can't just copy X amount of characters.
Most of the solutions I've seen include JQuery, which I'm not familiar with, so I would prefer an answer that doesn't involve JQuery. However, if you do have an answer that does use JQuery, I'll also give it a go. Here's my code so far:
textarea {
resize: none;
}
<textarea id="c" placeholder="c" spellcheck="false"></textarea>