change text on button code example
Example 1: To set the text of button using Jquery
BY LOVE
$('#btnid').text('Show');
Example 2: jquery button text
$("#my-button").attr("value", "Button Text");
Example 3: how to change the text in a button on onclick
var btn = document.getElementById("mybtn");
btn.value = 'my value'; // will just add a hidden value
btn.innerHTML = 'my text';