I\'m using jquery, and I have a textarea. When I submit by my button I will alert each text separated by newline. How to split my text when there is a newline?
Good'ol javascript:
var m = "Hello World"; var k = m.split(' '); // I have used space, you can use any thing. for(i=0;i