To set the text of button using Jquery

JavaScript
BY LOVE
  $('#btnid').text('Show');
Source

Also in JavaScript: