0
点赞
收藏
分享

微信扫一扫

多级类元素获取内容





[javascript] 
  view plain 
  copy 
  
 
  
 
  
 
  
 
1.  function getTaxId(){

2. return $(".content .tab-content.tab-content-frame-box").children("div").eq(0).attr("id"); 
3.  }
4.  //注意:一个class中的内容,都需要加. -> 并且必须紧挨着

举报

相关推荐

0 条评论