Home >Backend Development >PHP Tutorial >Sharing the correct usage of easyui's tabs update_PHP tutorial

Sharing the correct usage of easyui's tabs update_PHP tutorial

WBOY
WBOYOriginal
2016-07-13 10:35:21881browse

I always thought that tabs update was a bug in easyui, but recently I found that it can be solved like this when using it

Copy the code The code is as follows:

function updateTab(url)
{

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

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

         href: url
                                                                                                            
}


http://www.bkjia.com/PHPjc/744332.html

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/744332.htmlTechArticleI always thought that tabs update was a bug of easyui. Recently, when I was using it, I found that it can be solved like this. Copy the code and the code is as follows: function updateTab(url) { var tab = $('#tt').tabs('getSelecte...
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