[OpenLayers-Users] event target in IE

Roger Kunkel rakunkel at ucdavis.edu
Mon Apr 30 13:51:52 EDT 2007


I'm not having any luck trying to access event targets in IE.

evt.currentTarget  & evt.target.parentNode are null in IE.

I'm doing this:

                 OpenLayers.Event.observe(removeDiv,
                       "click",
                       this.removePlace.bindAsEventListener(this));

and in the handler:

     removePlace: function(evt) {

     ...

         evt.currentTarget ....


which works in FireFox but not IE


Thanks for any suggestions.


Roger Kunkel
CERES Program
Dept. of Land Air & Water Resources
UC Davis
rakunkel at ucdavis.edu


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20070430/0cb83781/attachment.html


More information about the Users mailing list