Click Event on a class does not trigger when the class is added to the DOM by JQuery
Hi!
Need: Add some Link with JQuery to send later to a iframe
I have some "
<a>" tags with a
class "
ToFrame" in my html code.
When i "
click" on thoses link a event is fired so i can send the "href" to the frame.
BUT
When i "Add"
new links (
with the class) from JQuery
nothing is fired and the Url is directly loaded in the browser (!)
Thanks a lot to explain me why this don't work, and how can i resolve it