<script>
$('#btntb').click(function () {
$('#tab tr').each(function (i) { // 遍历 tr
$(this).children('td').eq(1).addClass('content');
//$(this).children('td').each(function (j) { // 遍历 tr 的各个 td
// // console.log($(this).text()); //});
});
}); //$(function () {
// $("#btn").click(function () {
// $("#test tr td:nth-child(2)").addClass('red');
// });
// $("#test tr").click(function () {
// $(this).children('td').eq(1).addClass('red');
// });
//});
window.onload = function () { }
</script>
$(this).children('td').eq(1).css({ "text-align" :"left" });

最新文章

  1. HBase的数据模型相关操作 使用t这个变量来代替table1
  2. Android学习笔记之使用LBS实现定位
  3. 【读书笔记】iOS-验证应用内支付的凭证注意事项
  4. ResponseUtil反射制造唯一结果
  5. How Big Is A Petabyte, Exabyte, Zettabyte, Or A Yottabyte?
  6. [Stephen]页面实现瀑布流源码
  7. Failed to load unit &#39;PATM&#39; (VERR_SSM_FIELD_NOT_CONSECUTIVE)
  8. 数学:UVAoj 11174 Stand in a Line
  9. TCP 连接的要点
  10. 使用RouteDebugger对MVC路由进行调试
  11. Front-End(五)——工具使用
  12. 《java入门第一季》之面向对象接口面试题
  13. redis安装linux(二)
  14. JS 实现兼容IE图片向左或向右翻转
  15. C语言程序设计II—第五周教学
  16. Android:XML简介 &amp; 解析方式对比(DOM、SAX、PULL)
  17. C#连接oracle连接字符串
  18. 【opencv基础】图像的几何变换
  19. Mysql binlog日志的介绍
  20. mysql慢查询监控及sql优化

热门文章

  1. R语言 PCA
  2. oracle rac cache fusion
  3. java读取中文分词工具(一)
  4. 体验决定销量,真假4K争论仅仅是忽悠人而已
  5. nginx+tomcat反复请求
  6. CreateWindowEx和CreateWindow的区别
  7. luogu2152 [SDOI2009]SuperGCD
  8. 窗口函数 SELECT - OVER Clause (Transact-SQL)
  9. poj--1753--Flip Game(dfs好题)
  10. Java数据结构2——深入JCF