The following function gets the target element in a dropdown menu:
function getTarget(evt){ var targetElement = null; //if it is a standard browser if (
I met this problem too. And the problem is: in IE8, the event must be window.event, not the event that is declared in params.
window.event
I fixed as below:
function onclick(event){ if (is_ie8()){ clicked_element = window.event.srcElement } else { clicked_element = event.target } }