Change icon of button jQuery Mobile
===

I'm trying to change an icon of a button to another, but is not working.

I have:

    <a id="login" href="login.html" data-role="button" data-icon="user" data-iconpos="top">Login</a>

And I did:

    $('#login').data('icon', 'user_highlight');
    $('#login').button("refresh");

But it did not work. How can I solve?