标签加载不会重新加载jQuery UI 1.2.1中的内容 [英] tabs load doesn't reload content in jquery ui 1.2.1

查看:64
本文介绍了标签加载不会重新加载jQuery UI 1.2.1中的内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

用于该库以前版本的加载:

load used to work with former versions of this library:

$(#myTabs").tabs("load",index);

$("#myTabs").tabs("load", index);

根据文档,这应该加载远程选项卡.然而,一旦标签被加载,它就不再加载.

According to the docs, this should load the remote tab. Yet once the tab has been loaded it doesn't load anymore.

此外,禁用缓存不再起作用:

Also, disable the cache doesnt' work anymore:

$("#myTabs").tabs({cache:false});

$( "#myTabs" ).tabs({ cache: false });

我该如何模仿以前的行为?这会破坏我的应用程序中的很多代码

How may i emulate this former behaviour?, this breaks a lot of code in my app

推荐答案

答案在更改日志中:

http://jqueryui.com/upgrade-guide/1.9/#deprecated-ajaxoptions-and-cache-options-added-beforeload事件

这篇关于标签加载不会重新加载jQuery UI 1.2.1中的内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆