read string from text file javascript code example
Example: extract string from text file javascript
$(function () {
$.get('/your_file.txt', function (data) {
words = data.split('\s');
});
});
$(function () {
$.get('/your_file.txt', function (data) {
words = data.split('\s');
});
});