jquery, js: how to read specific line from external file? [closed]
How do you read a specific line, say line 3, from an external file using jquery or javascript?
many thanks.
- Read the file using
jQuery.get
- Split the read content by
\n
or\r\n
- Fetch the item for the corresponding row from the resultant array
精彩评论