It is important to know that AJAX, currently, is a terrible cross-domain solution for anything (such as reading files or posting data).

If you are trying to read a file from...