<table border=1 onmouseout="alert(1)">
<tr><td>a</td><td><table onmouseout="alert(2);event.cancelBubble=true"><tr><td>t2</td></tr></table></td></tr>
</table>cancelBubble属性
<tr><td>a</td><td><table onmouseout="alert(2);event.cancelBubble=true"><tr><td>t2</td></tr></table></td></tr>
</table>cancelBubble属性
解决方案 »
- 绑定数据岛的表格鼠标响应问题
- 请教JS达人
- 在线等
- 有人用过 ,YUI(Yahoo! User Interface Library)吗? 请问怎么使用 ,
- \u5E74\u4EFD\u8303\u56F4\u6709\u8BEF\uFF0
- window.createPopup();在firfox中没有,那么怎样实现相似的应用?
- 朋友.帮我一个忙..<table><tr>中间加一段html代码.如何弄??
- 大家来看看阿里巴巴网站的提供的一个功能,有几点没搞清楚
- 我使用showModalDialog弹出一个告警框,使用returnValue返回数组,可是在父窗口却始终读不到这数组,但是字符串可以读到。
- 怎么办啦,一个关于onmouseover找不到对象的问题
- 200分求助日期检测问题,高手帮忙
- 98下JAVASCRIPT好像不起作用,2000下正常。装IE6也不行,IE是默认设置,是何原因?
<tr><td><a href="">这里移动不触发</a></td></tr>
</table>
<script>
document.onmouseout=c
function c(){
var e=event.srcElement
if(o.contains(e))return
else alert(1)
}
</script>
<tr><td><a href="">这里移动不触发</a></td></tr>
</table>
<script>
function c(){
var e=event.srcElement
if(e.tagName!="TABLE")return
else alert(1)
}
</script>
<tr>
<td onmouseout="return false;alert(1)">
sdf
</td>
<td onmouseout="return false;alert('sdfsdf')">
sdf
</td>
</tr>
</table>这样可以吗?
好象不弹出对话框的.