I have a text area where each line contains Integer value like follows
1234 4321 123445
I want to check if the user has re
This works without needing jQuery:
var textArea = document.getElementById("my-text-area"); var arrayOfLines = textArea.value.split("\n"); // arrayOfLines is array where every element is string of one line