easyui在当前tab中直接加载url

    var tab = $('#mainTabs').tabs('getSelected');  // get selected panel
    $('#mainTabs').tabs('update', {
        tab: tab,
        options: {
            title: 'New Title',
            href: 'get_content.do'  // the new content URL
        }
    });

这段代码是在jquery easyui当前tabs中加载你想要的url

posted @ 2016-05-24 09:56  yuan.net  阅读(1119)  评论(1编辑  收藏  举报