Hi Again...still trying to sort this out - I read in another thread, that since I am trying to read from a local file...I shouldn´t be having cross-domain issues..... so....
Im the online TW I have the code
<script>
var out="";
var xmlHttp = null;
xmlHttp = new XMLHttpRequest();
var discFile="/AAA/alunoParticipation.txt";
xmlHttp.open( "GET",discFile, false);
xmlHttp.send( null );
var returnText =xmlHttp.responseText;
................</script>
it works....
but when I put the same code, but with an external url..like this...
<script>
var out="";
var xmlHttp = null;
xmlHttp = new XMLHttpRequest();
var discFile="
http://my domain/AAA/alunoParticipation.txt";
xmlHttp.open( "GET",discFile, false);
xmlHttp.send( null );
var returnText =xmlHttp.responseText;
................</script>
I get the message - [Exception... "Failure" nsresult: "0x80004005 (
NS_ERROR_FAILURE)" location: "JS frame ::
file:///X:/Documents/Dropbox/beta.htm :: _out :: line 9681" data: no]
Anyone have ideas whats happening...whay cant I read from a local file???
Thanks in Advance
Skye