jquery 获取table 第一行 第一个th

阅读 809 发表时间 2017-07-02 12:43:11
jquery
<table id="TableId" >       
        <tr>  
            <th nowrap="nowrap">序号</th>           
            <th nowrap="nowrap">内容</th>  

        </tr>  

 </table>


alert($('#TableId tr:eq(0) th:eq(0)').html());

0个回复
有思考的问答, 才是有价值的问答, 否则将无任何记录价值.
关注极客云图了解更多内容