<input type = "text" name="test" />
想要实现的功能是,当按下tab键后,js对此输入框进行判断,如果未空,则让其光标还停留到此位置。
focus和select函数失效。