Highlighting columns in a table with jQuery

后端 未结 6 1917
感动是毒
感动是毒 2021-01-16 02:02

I have a table and I am highlighting alternate columns in the table using jquery

$(\"table.Table22 tr td:nth-child(even)\").css(\"background\",\"blue\");
         


        
6条回答
  •  终归单人心
    2021-01-16 02:52

    This page defines a nice function for selecting a column http://programanddesign.com/js/jquery-select-table-column-or-row/

提交回复
热议问题