How do I load the content of a file into a variable instead of the DOM using jQuery .load()
method?
For example,
$("#logList").load("logFile", function(response){ });
Instead of loading the file into the #logList
element of the DOM, I would like it to load into a variable.