JQuery .live with a .change in the function inside an if stament
<p>I'm starting over here...</p>

<p>I have this function...</p>

<pre><code> $('.Discount').live({
        focusout: function() { 

        var $tr = $(this).closest('tr');
        var CustDiscount = $('#CustDiscount:eq(0)').val();
        var DiscountIS = $('.DiscountIS:eq(0)', $tr).val();

        if  ((CustDiscount) &gt; (DiscountIS)) {
                (Discount) = (CustDiscount);
        } else if 
            ((DiscountIS) &gt; (CustDiscount)) {
                (Discount) = (DiscountIS);
        } else if
            ((DiscountIS) = (CustDiscount)) {
                (Discount) == (CustDiscount);
        }
            $('.Discount:eq(0)', $tr).val(Discount);
    } 
});
</code></pre>

<p>There is a <code>.live</code> function that will use the value of the Discount after that var is established. If the user tabs past the <code>.Discount</code> field the above function puts in the <code>(Discount)</code> based on the function. Now, what I would like to do is that if the user enters a different amount into the <code>.Discount</code> field it will use the entered amount and override the if statement. Right now it is defaulting to the <code>if statement</code>. What would be the best way to achieve this.</p>
