i would like to read and write to a file using ajax, but i would want the file to be constantly read. So if a change is made to that file, it is instantly seen. So my questions are:

1) Is this possible using ajax?
2) If so, can anyone point me to a good tutorial or give me a starting point?

Thanks for your time.