javaScript 获得触发事件的元素 支持IE FireFox
http://blog.csdn.net/dengxingbo/article/details/4725402
<html>
<head>
<mce:script type="text/javascript"><!--
function myclick(event){
var ev =event.srcElement ? event.srcElement : event.target;
}
// --></mce:script>
</head>
<body>
<input type="text" id="li" onclick="myclick(event)">
<body>
</html>