ie里面:
<body onmousemove="if(event.srcElement.nodeType==1) x.innerHTML=event.srcElement.tagName">
<div id=x></div>
<input>
<img>
<p>a<a>aa</a></p>
</body>
<body onmousemove="if(event.srcElement.nodeType==1) x.innerHTML=event.srcElement.tagName">
<div id=x></div>
<input>
<img>
<p>a<a>aa</a></p>
</body>
解决方案 »
- 为什么window.showModalDialog的返回值是undefined
- easyui tree 如何判断那个子节点属于那个根节点
- 用XMLHTTPRequest获取网页源代码的疑问?
- ext combobox 当数据库值为NULL时显示异常 请教各位大侠
- 拖动表列改变table的列宽度(JavaScript脚本实现) 这个功能我已实验,如何保存到cookie.
- JavaScript检查大写键是否打开
- js 判断文本框是否为空 弹出对话框
- 用jquery如何获取div内部字节数?
- replace方法的疑问
- 怎么通过JS函数 将获取的value 设置到<input type="radio" value="">的value里?
- javascript 怎么把数值转换成字符串??
- ●已解决的层遮住控件的解决代码,但想以参数形式,请指点?
Button With Rectangle</BUTTON>
<BUTTON HIDEFOCUS="true">
Button Without Rectangle</BUTTON>
边框线用图片模拟或者图片按钮
<body onmousemove=" x.innerHTML=event.srcElement.tagName">
<div id=x></div>
<input>
<img>
<p>a<a>aa</a></p>
</body>
<input type="button" value="OK" onclick=alert("hehe") onfocus="this.blur();">