javascript load text from file 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');
});
});