
<a Onmouseover="getOAHTML2('/schema/pvs243178_47721895.html','pvs243178',null);" Onmouseout="hide('pvs243178');" href="/data/showdata.aspx?id=243178" target="_blank" class="sz26" id="schema_AC243178">记录 243178</a> //通过 getElementById 找到了目标<a> var tagetNode = document.getElementById("schema_AC243178") //alert(tagetNode .onmouseover) 想获得 onmouseover 属性里的 /schema/pvs243178_47721895.html 这个字段,应该用什么方法?
alert 这个 onmouseover,小窗提示似乎是个函数。。。?
1 ysc3839 2020-12-02 00:01:08 +08:00 tagetNode.getAttribute('onmouseover') |