better way to watch it to run on fiddle: Edit this Fiddle - jsFiddle - Online Editor for the Web (JavaScript, MooTools, jQuery, Prototype, YUI, Glow and Dojo, HTML, CSS)
or
<div id='content'> history begin<br/> </div>
window.setInterval(function(){
$('#content').append(" <label id='lab'>pls make it clickable<br/></label>");
},3000);
$('#lab').click(function(){
alert("ok!");
});
#content{
width: 200px;
height: 200px;
border: 2px groove red;
background-color: blue;
color: white;
}
css for looking better what happen in div


Sign In
Create Account


Back to top










