Any reason why this produces an error?
<form name = "pro">
<select name="prodd" onchange="onChangeXML
(pro.prodd.options[selectedIndex].value)">
<script>
for(x = 0; x < fileList.length; x++) {
var option = '<' + 'option value = "' + fileList[x] +
'">' + fileList[x] + '<' + '/option>';
document.write(option);
}
</script>
<option value = "hello.txt">hello</option>
</select>
</form>
pro is not defined
onChangeXML(pro.prodd.options[selectedIndex].value);
On Jun 17, 11:52 am, Rossko <[email protected]> wrote:
> > ...What I would like
> > to accomplish here, is to create a drop down box. Allowing users to
> > make a selection ...
>
> Okeydoke, that's straightforward ...
>
> http://www.google.co.uk/search?hl=en&q=javascript+drop+down+selection...
>
> As you say, use the output of the 'drop down' selection process to
> trigger a GDownloadUrl (the API's browser-independant
> XmlHttpRequest) ...
>
> > and then updating the visualization.
>
> http://econym.org.uk/gmap/basic3.htm
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---