$x 可以獲得xpath的dom集合,$$ 可以獲得css的dom集合。
length 可以反映出集合裏的dom個數。
等於1的話就代表只有一個dom,就說明xpath或css是唯一的。
喜歡的點個贊❤吧!
$x 可以獲得xpath的dom集合,$$ 可以獲得css的dom集合。
length 可以反映出集合裏的dom個數。
等於1的話就代表只有一個dom,就說明xpath或css是唯一的。
喜歡的點個贊❤吧!
1.selectedColor不起作用 1.查看位置是否寫對,與lis同級 2.是否爲16進制,selectedColor寫的rgb不支持 3.是否被其他樣式覆蓋,其他地方也設置過sele