ok, now it's work, here is finally code:
eventListeners: {
getfeatureinfo: function(event) {
for (var i = 0; i < event.features.length; i++) {
var feature = event.features[i];
var attributes = feature.attributes;
document.getElementById('get').innerHTML =
attributes.ZONA_AVON;
}}}
thanks a lot for your help :)
Dan
--
View this message in context:
http://osgeo-org.1560.n6.nabble.com/one-attribute-from-getFeatureInfo-tp4636316p4644060.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users