Hello, help! I bring to the page such blocks with icons:
<div id="itemIcon" class="col-md-2 col-sm-2 col-xs-6"> <i id="icon" class="fa fa-area-chart fa-2x"></i> </div> I hang event handler on them:
$('#itemIcon').click(function(event){ alert(event.type); }); When I click on the div with id = "itemIcon", nothing happens, I can’t understand the reason ... Objects are added dynamically to the page, there are no errors in the console. Does anyone have any thoughts, what is the problem?