how to make button text on click in jquery code example Example: jquery button text $("#my-button").attr("value", "Button Text");