document.body.onmousedown=getValue;
function getValue() {
var element = event.srcElement;
if(typeof(element.type) != "undefined" && element.type == "button")
alert(element.value);
}
function getValue() {
var element = event.srcElement;
if(typeof(element.type) != "undefined" && element.type == "button")
alert(element.value);
}
解决方案 »
- <body onload = "initinfo(${param.info});">无法弹出对话框显示info
- 觉得你JS很牛B了吗? 进来试试!
- ubb编辑 现在如何将编辑好的文字代替原来文字
- 关于右iframe刷新左iframe的问题
- javascript相加计算问题
- 如何自定义<textarea>的滚动条
- 屏蔽键盘键
- 字符替换的小问题(在线等待,解决即刻给分)
- window.open的问题
- text显示为平面形式,如果将其显示为编辑框(即有边框形式)??
- result = result.replace(/\'|"/g, ''); result = result.split(/[\s,\+\
- onpropertychange事件问题
解释