I have a couple of Divs in my page with CSS class="hello" Further I use Ajax to fetch a few more Divs with a CSS class="hello" I have a piece of code which is called on Click event of the Divs as follows:
$('.hello').click(function(){
alert("Hello Clicked");
})
It works fine with the Divs that are present in my page from start but does not work with Divs loaded using Ajax. Is there something I need do in order to bind this little piece of code with the newly loaded Divs too?