Access event.target in IE8 unobtrusive Javascript

前端 未结 4 1335
忘掉有多难
忘掉有多难 2021-01-04 01:37

The following function gets the target element in a dropdown menu:

function getTarget(evt){

 var targetElement = null;

 //if it is a standard browser
 if (         


        
4条回答
提交回复
热议问题