Changing the text in a hyperlink?

Changing the text in a hyperlink?

Hi, I am trying to change the text in a link.  I have managed it with the following code on a button,

  1. $('#sauce .ui-btn-text').text('freestyle');

  2. <a href="#home_page" id="sauce" class="ui-btn-right" data-theme="b">Save</a>

but on the second use the button loses it styling?

Can anyone help?