JavaScript has a hasAttribute() function which can be used to test whether an attribute exists on an element or not.
確定! 回上一頁