javascript load content from javascript 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);
});