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

easyui的tabs update正确用法分享

WBOY
Release: 2016-06-06 20:23:55
Original
1277 people have browsed it

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');

}

Related labels:
source:php.cn
Statement of this Website
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
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template