$("#inputBoxId").blur(function () { if ($(this).val() < 10) $("#inputBoxId").focus(); });
$("#inputBoxId").blur(function() { if ($(this).val() < 10) { setTimeout(function() { $("#inputBoxId").focus(); },100); } });
工作于jsfiddle的示例,在chrome dev通道,firefox和IE8上测试.