[OpenLayers-Users] Function to trigger an event added to an element

Armin Burger armin.burger at gmx.net
Thu Feb 23 14:50:29 EST 2012


Hi all

is there any function to trigger the event that has been added to an 
element with the OL function like

OpenLayers.Event.observe(inputElem, "mouseup", 
OpenLayers.Function.bindAsEventListener(this.onInputClick, 
                                               context)

I would look for something like
   OpenLayers.Event.trigger(inputElem, "mouseup")

which would then fire the bound function onInputClick().

Thanks for any help

Armin




More information about the Users mailing list