I use an event listener related to a variable relatedTargetfor Firefox or a variable toElementfor Chrome and IE. But since I did this part of the code, the parent variable has changed. Why?
For example, until today I needed to use evt.Va.toElementto refer to a variable toElement, but from today morning I need to use evt.Xa.toElement. Why has this changed?
google.maps.event.addListener(polygon,"mouseout",function(evt){
if(evt.Xa.toElement){
if(evt.Xa.toElement.id != "idName"){
}
} else {
}
}
Is there a way to use toElementor relatedTargetand be sure that it will always work?
source
share