I'm going to assume that you want the event to fire only once, so that the consistent PER element, and not completely shut off on the first click.
I would do it like this:
$('#container').delegate('.children', 'click', function() {
if($(this).data('clicked')) {
return;
}
$(this).data('clicked', true);
});
This will only fire once for each item. Technically, it works every time, but is flagged on the first click, so the code will not be executed again.
.one() , .one() , , . , , / . .delegate(), SINGLE.
, , , .one() ( ).