Apply Function To An Object Which Is Inserted By JQuery
<p>I have a function, which appends a div into a div(2). Inside div(2) I have a span. if I click this span, a function shall be executed.(click() function)</p>

<p>Currently I can not apply any function by onclick(), if div(2) gets inserted by jQuery.
 If I insert div(2) directly (hardcoded) I can execute the function.</p>

<p>How can I apply a function to an object which is inserted by jQuery?</p>
