I have an HTML5 video and I need to get some data from other elements that were dynamically created on "timeupdate", I am currently using:
var video = $('video');
video.on('timeupdate', function() {
//get data from dynamically created elements
});
This only works with previously created elements, but once I introduce a dynamically created element it comes back as undefined
, what is a better way of doing this?