Answers for "javascript load content from file"

0

javascript load content from file

//with JQuery

jQuery.get('http://localhost/foo.txt', function(data) {
    alert(data);
});
Posted by: Guest on December-17-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language