<p onkeyup="checkKey(event,this,'divPopupLayer');">xxx</p>
==========代替onpropertychange==========(0x8、0x2E)表示backspace、Delete按键
//增加一个onkeypress事件, 1.非ie不支持onpropertychange事件,2.onpropertychange事件用js赋值无法触发
function checkKey(eventObject, object, popUpLayerId) {
var eventObj = eventObject || window.event;
var eventSource = eventObj.srcElement;
if ((eventObj.keyCode >= 65 && eventObj.keyCode <= 90) || (eventObj.keyCode >= 97 && eventObj.keyCode <= 122) || eventObj.keyCode == '0x8' || eventObj.keyCode == '0x2E') {
showPopUpLayer(object.offsetParent, popUpLayerId); //业务处理方法
}
}