Answers for "html change text of button javascript"

0

js change button text

<button id="buttonName">Old Text</button>
<script>document.getElementById('buttonName').innerText = 'New Text';</script>
Posted by: Guest on November-01-2020
0

html how to change button text

<input type="button" value="Button Text Here">
Posted by: Guest on June-03-2021

Code answers related to "html change text of button javascript"

Browse Popular Code Answers by Language