碰到選擇某個範圍下的某個標的問題

發現這個Selector: Descendant Selector (“ancestor descendant”), "後裔選擇器"

就是("某個範圍 某個標的"), 中間用空白隔開即可!

 

文件網址

http://api.jquery.com/descendant-selector/

--

另外有一種Child Selector (“parent > child”)

就是一定要是下一層才行, 兩層以上就不算了

http://api.jquery.com/child-selector/

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 dizzy03 的頭像
    dizzy03

    碎碎念

    dizzy03 發表在 痞客邦 留言(0) 人氣()