Hello,
I have the following code that reads a text file:
var request = OpenLayers.Request.GET(
{
//The url of a file. I have put it in the
directory the page is running
url: GMLPathURL,
//Request must be synchronous
//so that all text is read first
async: false
});
//Response is assigned to variable text
var text = request.responseText;
If i call alert(text); i can see the contents of the file in firefox. When i
use internet explorer, i get an error.
Does OpenLayers.Request.GET not work on internet explorer? Is there
something else I can do for the same functionality?
Thank you
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users