#104298

Hi,

You can set the event listener to the element as you did.
If you want to append children you can use the appendChild method.

Best Regards,
Svetoslav Borislavov

Smart UI Team
https://www.htmlelements.com/