Get lightbox elements and add event hanlers

Hi,
is it possible to attach an event handler to an element of the lightbox?
For example, I have a custom lightbox with a select element, and I’d like to do something when the user changes the selection.

With jquery I would just select the element via its id or class, but lightbox elements doesn’t have an id. Is there a way to access those elements and manipulate them dinamically?

e.g.
1)Hide the textfield “foo” when the user checks the checkbox “bar”.
2)Add css attribute to the page header when the user clicks on the button “x”

Hello,
you can access DOM element of the node using scheduler.formSection(methodName).node method.
docs.dhtmlx.com/scheduler/api__s … ction.html

Note that lightbox DOM can be regenerated any time by scheduler.resetLightbox call, so you may need to refresh event handlers each time lightbox is opened
docs.dhtmlx.com/scheduler/api__s … event.html
docs.dhtmlx.com/scheduler/api__s … htbox.html