Home >Backend Development >PHP Tutorial >easyui的tabs update正确用法分享_php实例

easyui的tabs update正确用法分享_php实例

WBOY
WBOYOriginal
2016-05-17 08:46:54920browse

一直以为 tabs update 是 easyui 的 bug,最近在用的时候发现可以这样解决

复制代码 代码如下:

function updateTab(url)
{

    var tab = $('#tt').tabs('getSelected');

    $("#tt").tabs('update',{
        tab: tab,
        options:{

            href: url
        }
    });
    tab.panel('refresh');

}

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn