document.getElementById("db").onmousedown=function(){
   alert(1)
   document.getElementById("db").onmousemove=function(){}
   document.getElementById("db").onmouseup=function(){}
}
我为什么这么问是因为document.getElementById("aa").innerHTML="<div id='db'></div>";有这种情况而绑定是
addEventListner("mousedown",fn,false)这个fn在这种情况下非常难办了