To check if an element contains a class, you use the contains() method of the classList property of the element:, Since, Element.
確定! 回上一頁