为什么div 要点击内容才能触发事件_百度知道
最佳答案: <script language="JavaScript" type="text/javascript"> function doit(){ alert("xxx"); } window.onload = function(){ document.getElementById("...更多关于相邻div触发点击事件的问题>>
div的onclick事件触发问题_百度知道
最佳答案: 这样是可以的,但是ie估计不行,如果你想兼容ie,我再改改 <!DOCTYPE html> <html> <head> <style> div {width:300px;height:200px;background: #9...更多关于相邻div触发点击事件的问题>>