Answers for "how to get button text in javascript"

2

get button text javascript

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

how to get button text in javascript

To get button text inside its tag name
Posted by: Guest on June-08-2021

Code answers related to "how to get button text in javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language