<script type="text/javascript"> 
 
$(function () {
             $("td.gname").each(function () {
               //$(this).text()
               //某些操作
             });
 
       });
 </script>
 

  

<table border="1" cellspacing="0" cellpadding="0" width="100%">
            <tr>
                    <td class="gname" width="60%">测试1</td>
                    <td  width="60%">xiao1</td>
                    <td width="60%">xiao2</td>
            </tr>
</table>

  

posted on 2017-09-06 15:06  麦田守望  阅读(415)  评论(0编辑  收藏  举报