I have a small text area on my webpage where I want to add ">>" to the beginning of each line.
My initial attempt was to use this code:
$("#mytextarea").prepend("EvilHacker001>>");
Unfortunately, this did not produce the desired result. I searched for a method like foreach('line') that could apply to textareas but couldn't find anything relevant.
Is there a simple way to achieve this task? Thank you.