Answers for "change button on click es6"

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

change button text by id click java

<input type="button" value="Button Text" id="myButton1"></input>
Posted by: Guest on November-16-2020

Code answers related to "change button on click es6"

Browse Popular Code Answers by Language