Am 17.07.2019 um 23:46 schrieb Michael Van Canneyt: > Several ways, but > TJSOBject(JQuery('#elementid'))['onhide']:=@yourfunction; > should work.
Thanks for the hint to the libjquery unit. This helps to resolve $('#elementid'). However I couldn't find any information on how to access the non-standard events via attributes. Thus I create an external class just for the "on" method. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal