jquery how to get text of button code example Example: jquery button text $("#my-button").attr("value", "Button Text");