Hi,
I have see that it is possible to use javascript on control and create listen for events,
click, mouseover etc run, but the event onload don’t fire, is it possible to execute javascript on load of a control?
regards
Cristian
Hi Cristian,
The “load” event is available for image, iframe, flash or other widgets that load external content. The event you are looking for could be the “appear” event. That event is fired when a widget is rendered to DOM.
However, if you hide and show a widget it’s fired again. You can add a flag to indicate that the widget has been initialized. Or you can use “addListenerOnce” to handle the event only the first time.
For a full list of all the available events look at the qooxdoo api: http://www.qooxdoo.org/current/api/#qx.ui.core.Widget
HTH
Best,
Luca
Yes my friend, it works!
Our company is looking for a successor for migrating from VWG and I think we found it, for me wisej is product of the year 🙂
I really really hope that it will have a long life and updates
thank you
Cristian
PS: Luca are you italian or only italian name?
Please login first to submit.