Example 1: get button text javascript document.querySelector("button .button-class").innerText(); Example 2: access text inside a button from js document.
確定! 回上一頁