Home > Backend Development > C#.Net Tutorial > How to refresh current tabs in easyui

How to refresh current tabs in easyui

零下一度
Release: 2017-06-28 15:51:00
Original
1775 people have browsed it

How does easyui refresh the current tabs? The method of easyui refreshing the current tabs in jQuery. This article involves the attribute knowledge points of the param parameter. This article introduces it to you in great detail through examples and has reference value. Friends who are interested should take a look.

To update a specific tab panel, use the update method. The param parameter contains 2 attributes:

tab: The tab that will be updated.

options: Tab related configuration items.

Example:

//当前tab
var current_tab = $(‘#frame_tabs‘).tabs(‘getSelected‘);
$(‘#frame_tabs‘).tabs(‘update‘,{
tab:current_tab,
options : {
content : ‘<iframe scrolling="auto" frameborder="0" src="‘+URL+‘" style="width:100%;height:100%;"></iframe>‘,
//或者 href : ‘‘;
}
});
Copy after login

The above is the jQuery easyui method introduced by the editor to refresh the current tabs. I hope it will be helpful to you. If you have any questions, please leave me a message. The editor will reply to everyone in time.


The above is the detailed content of How to refresh current tabs in easyui. For more information, please follow other related articles on the PHP Chinese website!

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