function getEventTargetId(event)
{
    event
=event||window.event;  
   
var target=event.target||event.srcElement;  
   
return target.id;
}

参考:http://topic.csdn.net/u/20090101/11/ad3d4b0f-a320-453b-a49f-41ef277de082.html

 

posted on 2011-06-13 10:49  佐伊凡  阅读(218)  评论(0编辑  收藏  举报