convert textareas string value to JavaScript array separated by new lines

后端 未结 4 1628
孤城傲影
孤城傲影 2020-12-08 10:33

I have a textarea where the user can write up to 1000 characters. I need to get the jQuery(\'#textarea\').val() and create an array where each item

4条回答
提交回复
热议问题