button = $('form button[type=submit].button-saving') button.removeClass('button-saving') button.attr("data-icon", "o")