Hi

I have been attempting to check that a username exists in a text file using JavaScript. I call the CheckUserExists () method (below) passing in the username. However the readyState is always 1 so the file does not get read.

The webpage I am calling it from is something like this: www.mysite.co.u k/html/home.html

and the text file is located at: www.mysite.co.u k/html/resources/somefile.txt

...