There are plenty of ways to achieve this, to add new id: document.querySelector('div').id = 'id_you_like'; document ...
確定! 回上一頁