// Clear cache $('#clearCached').on('click', function () { larryTab.cleanCached(); layer.alert( 'Cache clearing completed! Local storage data is also cleared successfully!', { icon: 1, title: 'System prompt' }, function () { location.reload(); // refresh }); });
1 $("#refresh_iframe").click(function() { 2 $('#larry_tab_content').children('.layui-show').children('iframe')[0].contentWindow.location.reload(true);