Button Methods

The string method changes the button text.

Note: You must add the data-STRING-text attribute with a value of the specified button text, for this example to work.