querySelector('img').setAttribute('data-title', 'test');. To get the value of the same element, document.querySelector ...
確定! 回上一頁