>                 layer.setQuery("select geometry from 1813014 where name=" &
> schoolID);

Have you looked at your browser's javascript error message?
      'layer' is not defined

A 'leyer' was used in your initialize() function, but that is no
longer available after initialize() has completed, when the dropdown
is used.
Look into javascript "variable scope".

You also need to check how to concatenate strings in javascript, "&"
is not the operator you think.

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to