Hi
I am trying to use xmlhttprequest instead GDownloadURL,. like below
which is not working
var url = "test.csv";
function loadXMLDoc(url)
{
if (window.XMLHttpRequest)
{// code for IE7+, Firefox, Chrome, Opera, Safari
xmlhttp=new XMLHttpRequest();
xmlhttp.open
var doc = xmlhttp.responseText;
xmlhttp.send(null);
function(doc) {
lines1 = doc.split("\n");
.
.
.
.
.
.}
instead below GDownloadUrl is working fine
GDownloadUrl( "text.txt", function (doc) {
lines1 = doc.split("\n");
.
.
.
.
.
.}
Like to understand the alternate and find how could be executed using
xmlhttprequest
Thanks in advance
Sankar
--
You received this message because you are subscribed to the Google Groups
"Google Maps API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-maps-api?hl=en.