javascript获取焦点对象ID

document.activeElement 方法:if(document.activeElement.id="textbox1") { }

原文地址:https://www.cnblogs.com/isungge/p/4745997.html