Migrating a working .each( .. .change()) to .each( .live("change...")) don't works jQuery
<p>I've a list of inputs that are loaded some at document ready and others are loaded dynamically. I need to sum all of them because I need to  check that all of them doesn't sums more than 99.</p>

<p>The problem is that with .live() I can't get it working but it works with .change().</p>

<pre><code>/* this works */
$(".percentage").each(function() {
    $(this).change(function() {
        var sum = 0;
        $(".percentage").each(function() {
            sum += $(this).val();
        });
        alert(sum);
    });
});

/* this don't */
$(".percentage").each(function() {
    $(this).live("change keyup focus click keydown", function() {
        var sum = 0;
        $(".percentage").each(function() {
            sum += $(this).val();
        });
        alert(sum);
    });
});
</code></pre>

<p>Thank you in advance!</p>
