JavaScript has class: using classList to check if an element has a ... can now simply do it with a call to classList.contains("class-name").
確定! 回上一頁