Answers for "how to get the text content of a button in javascript"

2

get button text javascript

document.querySelector("button .button-class").innerText();
Posted by: Guest on March-19-2021

Code answers related to "how to get the text content of a button in javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language