I have a map where I need to update the contents of the info window after 
it is opened.
http://nctcog.org/trans/data/trafficcounts/index2.asp
 
What needs to happen is that when a user changes the date in the drop down 
list, the counts field should update.  
The infowindow are loaded via a kml file. 
Here is the dropdown code:  
      <SELECT id="Select2" onchange="Select2_onchange();" name="Select2">
       <% i = 1 %>
    <% Do While Not rs3.EOF %>
            <OPTION value="<% = i %>"><font face="Arial, Helvetica, 
sans-serif" style="font-size:9pt"> <% = rs3(0) %></font></OPTION>
    
           <% i = i + 1 %>
           <% rs3.MoveNext %>
    <% Loop %>
   </SELECT>
 
and here is the jacscript function:
 
 function Select2_onchange()
 { 
 var id = document.getElementById('hiddenid').value;
 var mydate = document.getElementById('Select2').value;
 
 window.location = "
http://www.nctcog.org/trans/data/trafficcounts/gettrafficcounts2.asp?id="+id+"&mydate="+mydate
 }
 
What I'm trying to do is call back the page that builds the kml file.
 
However that page itself is called from the main page in the first link.  
Right now it isn't doing anything, so I'm wondering how would I implement 
that?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-visualization-api/-/_i1ebRCV7QIJ.
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-visualization-api?hl=en.

Reply via email to