$(this).text() change 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");
BY LOVE
$('#btnid').text('Show');
$("#my-button").attr("value", "Button Text");