Syntax: $([selector]).attr([attribute name]);. Example: HTML: <a href="/home">Home</a>. jQuery: $('a').attr('href');. Fetching data attributes:.
確定! 回上一頁