I've been using the split function to separate the lines in an textarea field (denoted by a CRLF) into an array of strings, using the following code:
This works fine in Internet Explorer, but I've just noticed that it doesn't work in Firefox.Code:address.value.split('\r\n')
It always return an array with one item, the first line.![]()
Can anyone help me out here?
TIA


Reply With Quote

Bookmarks