I am having a bit of an issue. I want to bind elements (in Jquery) to an event Listener.
I would normally do it in the $(document).ready()
but these elements are not created yet in the body, so they are not binded with the event listeners.
I would like to know if there is a way of doing this so I don't have to bind the elements every time I create a new element.
The elements are created like this : $("#theDiv").html(functionReturningHTMLString())
Thank you all