set value toFixed on blur
<p>I have an input field that is used to insert a dollar amount.  If the user types in "100" or "100." I want to add two decimal places to the value using the toFixed(2) method.</p>

<p>Here is an <a href="http://jsfiddle.net/8d4Px/" rel="nofollow">example</a></p>

<p>This is what I have tried:</p>

<pre><code>var j$ = jQuery.noConflict();

j$(document).ready(function() {
    j$('#ccAmt').blur(function() {
        j$(this).val(j$(this).val().toFixed(2));
    });
});
</code></pre>

<p>I found several examples on the forum, but everything I tried didn't work.  What am I missing?</p>

<p>Thanks.</p>
