[OpenLayers-Users] event target in IE
Erik Uzureau
erik.uzureau at metacarta.com
Mon Apr 30 15:57:34 EDT 2007
Try
OpenLayers.Event.element(evt)
??
On 4/30/07, Roger Kunkel <rakunkel at ucdavis.edu> wrote:
>
> 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
>
>
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20070430/963db70c/attachment.html
More information about the Users
mailing list