0
我有fontawesome一个问题,我无法删除的图标附加一旦有icon-spin
类使用fontawesome图标和删除图标,旋转的图标自旋
<h1>This is the title</h1>
<script>
function updateByAjax() {
$h1 = $('h1').append('<i class="icon-spinner icon-spin"></i>')
$.get('/url', function(resp) {
$h1.html(resp.title).find('.icon-spinner').remove()
})
}
</script>