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