[jQuery] function on element printed by another function

[jQuery] function on element printed by another function


I trying to do something like this:
$("#one").click( function() {
$("#frame").html( "<div id='two'>Printed Element</div>" );
} );
$("#two").click( function() {
alert("Hello!");
} );
<div id="one">Click me</div>
<div id="frame">Empty</div>
when I click on the #one, #two is printed in #frame, but there is no
response when clicking #two
How can I declare action (like .click) on element printed by jQuery
function?
Somebody can help me?