[jQuery] Re: textarea problem

2008-12-05 Thread Eric Martin
So, you want each line of the textarea to become a column for a single record in the database? You should be able to just split the contents by the cr/lf and then building a record accordingly. How will you verify the data though, for example, making sure that each line gets added to the correct

[jQuery] Re: textarea problem

2008-12-05 Thread MorningZ
var Entries = $("#TextArea1").val().split(/\n/g); Will give you an array of items broken up by the line breaks in the On Dec 5, 10:32 am, Jesse <[EMAIL PROTECTED]> wrote: > I have an html textarea that is 41 columns wide.  I need to capture > each line and input it into a database( each line