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

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

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-05-17 08:46:54
Original
925 people have browsed it

一直以为 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 Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template