js load file code example
Example: javascript load content from file
//with JQuery
jQuery.get('http://localhost/foo.txt', function(data) {
alert(data);
});
//with JQuery
jQuery.get('http://localhost/foo.txt', function(data) {
alert(data);
});