解决方法
.focus(1)它只是意味着你想要1毫秒的延迟.
http://api.jqueryui.com/focus/
API:jqueryui
.focus( delay [,callback ] )
This plugin extends jQuery’s built-in .focus() method. If jQuery UI is not loaded,calling the .focus() method may not fail directly,as the method still exists. However,the expected behavior will not occur.