> var ccc=document.getElementById("cat").value;
> layer.setQuery("SELECT Location FROM 728781 where Category=ccc");Wouldn't you want to use the value of your variable ccc in the query, not the three characters 'ccc'? You can join a string to a variable's content like this variable = "banana"; alert ( "yellow " + banana); -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
