Title: Changing tab icon after AJAX page load Post by: Aod47 on February 14, 2020, 08:06:50 PM Hello,
From this topic https://www.jeasyui.com/forum/index.php?topic=8206 (https://www.jeasyui.com/forum/index.php?topic=8206) Which a panel I called from AJAX. Sometime wait to long. So, I tried to changed icon to icon-loading and add event onLoad for change to real icon that I want to display. But the icon not change. ??? Code: <div id="TabpanelBib" class="easyui-tabs" data-options="fit:true,plain:true,tabPosition:'right',headerWidth:40,tabHeight:40,border:false"> Could you please advice. Thank you very much. Title: Re: Changing tab icon after AJAX page load Post by: Aod47 on February 14, 2020, 08:47:04 PM Got It! Thank you.
Code: onLoad:function(){$('#TabpanelBib').find('li:eq(1)').find('span:eq(1)').removeClass('icon-loading').addClass('icon-attributes');} |