obj.onclick=function(ev) { alert(ev); };
ev兼容IE9以上,FF,chrome,IE8及以下是undefined
event 兼容IE和chrome FF不兼容