应该是使用了变量吧?<table>
 <tr>
   <th>一</th>
   <th>二</th>
 </tr>
 <tr>
   <td>三</td>
   <td>四</td>
 </tr>
 <tr>
   <td>五</td>
   <td>六</td>
 </tr>
</table>

解决方案 »

  1.   


    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>test</title>
    <script src="jquery-1.3.2.js"></script>
    <script>
    $(function(){
    $("#btn").click(function(){
    var all_tr = $("table tr");
    all_tr.each(function(){
             var text = $(this).children().eq(0).text();
    alert(text)
    });
    });

    });
    </script>
    </head><body>
    <table>
     <tr>
       <th>一</th>
       <th>二</th>
     </tr>
     <tr>
       <td>三</td>
       <td>四</td>
     </tr>
     <tr>
       <td>五</td>
       <td>六</td>
     </tr>
    </table>
    <input type="button" id="btn" value="第一列" />
    </body>
    </html>
      

  2.   

    <script type="text/javascript">
     $(document).ready(function(){
    for(var j=0;j<$("#tb1 tr").length;j++){
    alert($("#tb1 tr:eq("+j+")").children("td:eq(0)").html());
    }})
    </script>
    tb1为表格的id名 ,上面的列子是获取表格的第一列