無法設(shè)置未定義或 null 引用的屬性“onmouseenter”調(diào)試完這樣子,給出解答
var t1=document.getElementById("tooltip1");? t1.onmouseenter=function(){? showToolTip( this, "t1", '中華人名共和國', 200);? };
var t1=document.getElementById("tooltip1");? t1.onmouseenter=function(){? showToolTip( this, "t1", '中華人名共和國', 200);? };
2016-07-11
舉報
2016-07-16
親 ,是不是你的 showToolTip 方法里有變量沒有定義或者寫錯了啊,把showToolTip() 粘出來看下