DD! There is such a problem: I create a function on the page with a function, and with another function I try to set actions on the created element:
$("#addspoint").click(function() { $("#gamecoord").append(itog+'<i class="icon-bucket" id="ssdd"></i> <br>'); }); $("#ssdd").click(function() { alert('sdadasd'); });
On the page, the elements are normally created, but the action when clicking on the elements does not occur. Why and how to fix it?