<body onmousemove="status='x-coordinate of the mouse pointer\'s position:'+event.clientX">
bt1<input type="button" onclick="event.srcElement.value='changed';et1.value=event.srcElement.name" value="button" name="bt1">
<br>
this inputbox show the name of the event.srcElement(bt1)
<br><input type="text" name="et1">
</body>
为了锻炼一下楼主的英文水平……
bt1<input type="button" onclick="event.srcElement.value='changed';et1.value=event.srcElement.name" value="button" name="bt1">
<br>
this inputbox show the name of the event.srcElement(bt1)
<br><input type="text" name="et1">
</body>
为了锻炼一下楼主的英文水平……
解决方案 »
- javascript
- 为什么只运行一次?
- 如何在非IE浏览器下实现 href="#id" 的效果?
- ireport的子数据集(subdataset)问题
- javascript中如何获取截取字符串的获取所需要的信息,有具体实例
- 检测类似"2007-09-27 12:24:59.0"这样的字符串的正则表达式是什么呀?最后的那个".0"是毫秒!
- setTimerOut()不起作用?
- 请问file控件
- 如何限制文本框只能输入数字(包括小数点),而且限制长度
- 百度发明的神代码。菜鸟表示很无奈。求大神小神来帮忙。谢谢 // 百度地图API功能 从上地到西单驾车需要 的行车时间 表示读不懂 求翻译神
- 如何将javascript的数字字符转换为数字??(在线等)
- 怎么关闭window.showdialog弹出的窗口
谁有学习msdn较好的方法,和经验哦~
window.event.clientX:鼠标点击的横坐标位置