Tuesday, 10 September 2013

Add jquery to a html element that is added dynamically.

Add jquery to a html element that is added dynamically.

I have <video> elements added to the page when an image is clicked. A
light box with the video pops up. What would be the best way to execute a
snippet of jquery to this dynamic video element? I though maybe some form
of the .on method might work was not sure.

No comments:

Post a Comment