I have a third party function that I use. To use ii I just run:
$('.myElements').thirdPartyFunction(options);
It works fine. However if I dynamically add an element with class .myElements
, how can I have it run the thirdPartyFunction on that that element?