I have this code:
<div id="div1"><h2>Let jQuery AJAX Change This Text2</h2></div>
<button>Get External Data</button>
enter code here
But after clicking on button nothing happens. I also tried load("/a.txt"); Still no luck.
Tried different browsers, no success.
I managed to resolve the above issue(partially) by putting the files inside the Web server.
Now I have another related issue. Button that runs Jquery only seem to work only once. That is when I change the contents of the text file and click on the Button I always see the text of the old file. I suppose browser caches Jquery loaded data?