日期:2014-05-17 浏览次数:20573 次
<!DOCTYPE HTML> <html> <head> <meta charset="gb2312" /> <title></title> <script src="http://code.jquery.com/jquery-latest.js"></script> <style> </style> </head> <body> <table> <tr> <td>1</td> <td>2</td> </tr> <tr> <td>11</td> <td>22</td> </tr> </table> <script> // 第2个tr的td $('tr:eq(1) > td').each(function(){ alert( this.innerHTML ); }) </script> </body> </html>