load()
is just a shortcut for $.get
that atuomagically inserts the content into a DOM element, so do:
$.get("logFile", function(response) {
var logfile = response;
});
load()
is just a shortcut for $.get
that atuomagically inserts the content into a DOM element, so do:
$.get("logFile", function(response) {
var logfile = response;
});