我用的是MyEclipse进行编写的。在  var div = document.createElement("DIV");后准备给 div 添加onmouseover事件,用编辑器自带提示但始终没有,自己写进去也是错的。
JavaScriptdiv事件