参考 https://zhidao.baidu.com/question/497311181016643684.html
if ($(":focus").length > 0) {
alert($(":focus").attr("name"));
}
参考 https://zhidao.baidu.com/question/497311181016643684.html
if ($(":focus").length > 0) {
alert($(":focus").attr("name"));
}