关注焦点,重点关注

col*_*unn 11 jquery

jQuery会阻止这种行为吗?

$("input").focusout(function() {
    $(this).focus();
});
Run Code Online (Sandbox Code Playgroud)

Šim*_*das 12

这是它的完成方式(跨浏览器工作):

$('input').blur(function() {
    var that = this;
    setTimeout(function() { $(that).focus(); }, 0);
});
Run Code Online (Sandbox Code Playgroud)

现场演示: http ://jsfiddle.net/jzt2Z/1/