Manage HTML DOM with vanilla JavaScript. ... Get the `data-message` attribute of the `ele` element. const message = ele.getAttribute('data-message');.
確定! 回上一頁