Home  >  Article  >  php教程  >  easyui的tabs update正确用法分享

easyui的tabs update正确用法分享

WBOY
WBOYOriginal
2016-06-06 20:23:551235browse

jQuery EasyUI是一组基于jQuery的UI插件集合,而jQuery EasyUI的目标就是帮助web开发者更轻松的打造出功能丰富并且美观的UI界面。下面说一下tabs update的正确用

一直以为 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