easyui-tabs 刷新当前tab页
2015-06-09 17:10
453 查看
//当前tab
var current_tab = $('#div_tabs').tabs('getSelected');
$('#div_tabs').tabs('update', {
tab: current_tab,
options: {
content: '<iframe scrolling="auto" frameborder="0" src="Views/destop/destop.html" style="width:100%;height:100%;"></iframe>'
}
});
div_tabs是easyui-tabs的ID
“Views/destop/destop.html”为当前tab访问的路径
var current_tab = $('#div_tabs').tabs('getSelected');
$('#div_tabs').tabs('update', {
tab: current_tab,
options: {
content: '<iframe scrolling="auto" frameborder="0" src="Views/destop/destop.html" style="width:100%;height:100%;"></iframe>'
}
});
div_tabs是easyui-tabs的ID
“Views/destop/destop.html”为当前tab访问的路径
相关文章推荐
- easyui框架搭建
- UITableView 的方法总汇
- (搬运工)NGUI官网示例11 –Drag ; Drop(图标与物体拖拽放置)
- 手写CollectionVeiwCell和UICollectionView
- org.tinygroup.databasebuinstaller-数据库结构及元数据自动创建
- 使用其他的代理工具brup suide
- Diesel uk that will definitely suit your needs
- easyui格式化复选框
- CSS3 Media Query 响应式媒体查询
- GUI使用2——总结&NGUI、tookit2D、GUI比较
- UI开发的终极解决方案
- UITableView优化技巧整理
- serialVersionUID行动
- APUE的小问题
- Maximum Subarray
- TinyUI组件开发示例
- GUI使用1——基础函数使用
- 硬盘分区的UUID
- UVA 1306 LA 2531 The K-League
- IBM云的商业动作之我见(1):IBM 收购 OpenStack 托管私有云公司 Blue Box [IBM Acquired Blue Box]