完成点击×出现对话框功能
2015-12-09 13:55
239 查看
<script type="text/javascript">
function add(obj){
var content=obj.innerHTML;
var error='<font color="red">×</font>';
//alert(error);
if(content==error){
//alert("qqqq");
}
}
</script>
<td class="line2" onclick="add(this)"><c:if test="${item.one1 == 9}"><font color="green">√</font></c:if><c:if test="${item.one1 == 0}"> <font color="red">×</font></c:if></td>
function add(obj){
var content=obj.innerHTML;
var error='<font color="red">×</font>';
//alert(error);
if(content==error){
//alert("qqqq");
}
}
</script>
<td class="line2" onclick="add(this)"><c:if test="${item.one1 == 9}"><font color="green">√</font></c:if><c:if test="${item.one1 == 0}"> <font color="red">×</font></c:if></td>
相关文章推荐
- Java学习笔记----面对对象
- 快速上手的XMind导图软件
- LightOJ 1068 - Investigation(数位DP)
- 二维矩阵的一维访问方式
- 小软件神器集合(不定期更新)
- Android——图片压缩
- 中软国际Java程序员笔试题
- java 设置特定时间
- android 开发中需要注意内存泄露的地方
- STM32 FSMC总线与TFT8080接口对接分析
- js无限级树菜单
- Maven简介(六)——Dependency
- 覆盖的理解
- Android-Androidstudio集成git开发环境
- uboot向kernel的传参机制——bootm与tags
- ActiveMQ基于zookeeper+leveldb主从配置
- sicily 1007. To and Fro(破译密码)
- 便捷访问KMA天气图
- Android layout_margin 无效的解决办法
- 时间改变一切—兄弟连IT教育