I'm not sure why this is happening. The below function is executing correctly. The path file is correct. I've tried to add "text" after, and json etc. But the data is empty??? I'm at my wits end, I'm not sure why this happening. Please help
var str = "";
$.get(
"steps.txt",
function(data){
str = data;
},
"text"
);