Hi @all
I have some problems with GDownloadUrl.
I wanna do that user can choose number in drop down selection and then
GDownloadUrl function opens selected XML_Files[ number]
// Array of XML files
var XmlFile=["1.xml","2.xml","3.xml","4.xml"];
//
<select id="xmlfiles" name="D1" onchange="change();" >
<option>1</option>
<option>2</option>
</select>
//Selected File
var xml_file=document.getElementById("xmlfiles").value;
//Open selected XML file
GDownloadUrl( XmlFile[xml_file], function(doc)
{
// XmlFile[xml_file] cannot work
}
how i can do it ?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---