How do I change the text on a button?
Answer: Use the jQuery prop() and html() Methods
You can simply use the jQuery prop() method to change the text of the buttons built using the HTML <input> element, whereas to change the text of the buttons which are created using the <button> element you can use the html() method.