jquery mobile runtime changing of text in href

jquery mobile runtime changing of text in href

hi.
i've this html:
<a href="#" id="hrefShare" data-icon="star" class="ui-btn-right">some text</a>

and this jquery script in document ready:
$('#hrefShare').text('my text').trigger('enhance').trigger('create');

now button seems to lose icon and so on.
I'm trying to do a thing that cannot be done?
thank you.