I am attempting to make the number entered auto shift to 2 decimal places - but after several attempts I can't get this to go - and ideas?:
html
<tr>
<td colspan="2" class="null"></td>
<td class="label">Money Accounted For</td>
<td class="field"><input type="text" name="moneyAccountedFor" id="moneyAccountedFor" tabindex="7" /></td>
</tr>
JQuery
$("#moneyAccountedFor").blur(function() {
$(this).val($(this).value.toFixed(2));
});
Edit: To take a look at my problem more closely - I created a fiddle: http://jsfiddle.net/drewwyatt/AEWHs/