CSS的选择器里,有没有类似于jQuery contains() 的这种根据内容筛选的选择器呢?$("div:contains('John')")
根据内容的应该没有,可以根据属性来选择 如,$("input[type=text]")