var menuUrl = $(eventSrc).attr("navUrl"); // if (menuUrl == undefined) {// IE8-compatible $(eventSrc) identification error, take the first one // menuUrl = $("#left_menu-small li:first a").attr("navUrl"); // } var browser = GetIEVersion(); if (browser == "IE8") {// IE8-compatible $(eventSrc) identification error, take the first one // menuUrl = $("#left_menu-small li:first a").attr("navUrl"); }For example: Clicking on element A triggers the event of element B. It is logical that the source of the event is element B. It will be recognized as element A under IE8. There is no problem in other browsers. There is no good solution for the time being. I am just going to get element B manually in IE8.