Hi Feherke,
Thanks for that. I'll certainly look into it and give it a go.
The problem is - that the file where the above code is, is in the SAME directory as the text file - so they are both the same origin aren't they?
All I want to do really (without any need of server side language if...
Hi Everyone,
Looking for some help. I'm a PHP developer quite new to Javascript. I'm currently trying to parse some information out of a text file and have started by using txtFile.open . My code is:
var txtFile = new XMLHttpRequest();
txtFile.open("GET", "../beers.txt", true)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.