4
有人请请赐教,为什么我的toFixed()不工作?.toFixed(2)不工作?
$("#amount").blur(function() {
if ($('#amount').val() % 100 != 0) {
alert("must be a multiple of 100, please try again")
} else {
$('#fee').val(parseFloat($('#amount').val()) * .035).toFixed(2);
}
});
非常感谢,你的权利!完美......谢谢 – 2010-12-08 11:56:04