<button>Send</button>
I tried many times to change the text inside the button, only the following codes worked.
I tried many times to change the text inside the button, only the following codes worked.
JavaScript:
document.querySelector('#ShowButton').innerHTML = 'Custom test 1';
document.querySelector('#ShowButton').innerText = 'Custom test 1';
document.querySelector('#ShowButton').textContent = 'Custom test 1';