I'm messing with jQuery .load()
Here is my code sample:
<html>
<head>
<meta charset="utf-8">
<title>load demo</title>
<script src="https://code.jquery.com/jquery-3.4.1.js"></script>
</head>
<script>
$(document).ready(function(){
$("button").click(function(){
$("#div1").load('test.txt');
});
});
</script>
<body>
<div id="div1">Old text</div>
<button>Get new text</button>
</body>
</html>
It doesn't load neither on Safari (OSX) nor on Firefox (Rasperian). I knew this question was asked many times, but no answer did really helped.