最新回答 / MarlboroKay
function addEvent(element,event,callbackfunction){ if(element.addEventListener){ element.addEventListener(event,callbackfunction,false); } else if(element.attachEvent){ element.attachEvent('on'+event,callbackfunction); } ...
2015-01-22