I have a text file that is modified by different python scripts, and I want to create a jquery function that detects each change in that file and to display that change in an initially empty html div
<div id="logtext"> </div>
using
document.getElementById('logtext').innerHTML= new_content_of_the_file;
( something similar to displaying a logfile ) how can I do that?