Sum from field values and output the result inside div
<p>I did this before with javascript, and have no idea to make it using jquery.</p>

<p>I hope you can help me!</p>

<p>I tried the next:</p>

<pre><code>&lt;script&gt;

$('.field').mouseout(function () {
    var sum = 0;
    $('.field').each(function() {
        sum += Number($(this).val());
    });
      $("#resultado").html(sum.toFixed(2));
});​​​​​​​​​

&lt;/script&gt;
</code></pre>

<p>The div resultado should change the content. Not happening :/</p>
