Use the contains method provided by the classList object, which is: element.classList.contains('myclass'). Technically, classList is an ...
確定! 回上一頁