firefox和chrome 中tr下的td colspan属性在tr 隐藏时无效
2015-06-11 11:43
267 查看
$("tr[name='dohid']").click(function(){
var display=$(this).next("tr").css("display");
//alert(display);
if(display=="none"){
$(this).next("tr").css("display","");
}else{
$(this).next("tr").css("display","none");
}
吧block变为“”就好了
var display=$(this).next("tr").css("display");
//alert(display);
if(display=="none"){
$(this).next("tr").css("display","");
}else{
$(this).next("tr").css("display","none");
}
吧block变为“”就好了
相关文章推荐
- 关于@SuppressWarnings
- PyBrain使用简介
- 如何设置QWidget的背景颜色
- 黑马程序员——java基础-多线程
- hadoop 配置history server 和timeline server
- 4438无线网络组网代码解析
- POJ 2661
- POJ 2643
- POJ 2656
- C# Winform ToolStripContainer ToolStrip相关用法记录
- 如何做一个安全的“记住我”功能
- 这六点帮你选对公司跳对槽!
- 安装 LAMP Web 服务器在 Amazon Linux 上
- vector_map 为什么比map效率高
- ASP.NET MVC 4学习(一)---准备知识及基础内容
- python list中append()与extend()用法
- JavaScript捕获window窗口关闭事件
- POJ 2612
- POJ 2636
- iOS block回调