我的问题是这样
<td width="82"><a href="#"><img src="../images/botton_submit.jpg" width="60" height="20" border="0" style="cursor:hand" onclick="submitValue()"/></a></td>这是个按钮 通过图片覆盖的一个事件
这是个上传按钮
通过点击附件按钮钮后生成出
上传按钮和删除按钮
如图可现在的问题是这生成出来的2个按钮也是通过图片覆盖事件 删除按钮就没问题 可上传点击就没效果
cell3.align="center";
var img = "<input type='hidden' name = 'filecontent' id='filecontent"+rowindex+"' /><input type='hidden' name='signfile' id='signfile"+rowindex+"'/><img src='../images/botton_upload-.jpg' id='img"+rowindex+"' style='cursor:hand' border=0 style='cursor:hand' onmouseover='showfiledialog("+rowindex+")'/> <img src='../images/botton_delete.jpg' style='cursor:hand' border=0 style='cursor:hand' onclick='deleteRow("+rowindex+")'/>";
cell3.innerHTML = img; JavaScriptIE6IE9
<td width="82"><a href="#"><img src="../images/botton_submit.jpg" width="60" height="20" border="0" style="cursor:hand" onclick="submitValue()"/></a></td>这是个按钮 通过图片覆盖的一个事件
这是个上传按钮
通过点击附件按钮钮后生成出
上传按钮和删除按钮
如图可现在的问题是这生成出来的2个按钮也是通过图片覆盖事件 删除按钮就没问题 可上传点击就没效果
cell3.align="center";
var img = "<input type='hidden' name = 'filecontent' id='filecontent"+rowindex+"' /><input type='hidden' name='signfile' id='signfile"+rowindex+"'/><img src='../images/botton_upload-.jpg' id='img"+rowindex+"' style='cursor:hand' border=0 style='cursor:hand' onmouseover='showfiledialog("+rowindex+")'/> <img src='../images/botton_delete.jpg' style='cursor:hand' border=0 style='cursor:hand' onclick='deleteRow("+rowindex+")'/>";
cell3.innerHTML = img; JavaScriptIE6IE9
解决方案 »
- 如何实现两个sortable之间的互相拖动?
- Javascript中button按钮的onclick()事件如何传递参数?
- 大伙来帮我看看这个有可能实现吗?SELECT和TEXT的连动
- 紧急求助:移动框架
- 请问:在PHP中调用Javascript的问题:好象echo解决不了:(
- 我用window.showModalDialog模式时,如果再次调用就它就重新打开一个网页,我想不用重新打开有什么办法
- 能通过CSS实现pre的效果吗?
- 求救关于菜单的问题
- easyuidatagrid onClickCell 函数中做页面跳转问题
- extjs treepanel的应用
- 正则提取字符串
- 请教,ajax延后加载的网页内容,对于搜索的爬虫程序的影响?
现在问题有点复杂了 是这样的 当点击开启兼容性视图后就没问题了 但我在表头加
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7"/>
根本没用··
那个兼容性视图的图标也没有变成蓝色 只要能用JS让他变成蓝色就OK了··
不想要用户手动点和浏览器自动设置 让用代码执行 ···