tabs load doesn't reload content in jquery ui 1.2.1

折月煮酒 提交于 2019-12-13 06:50:51

问题


load used to work with former versions of this library:

$("#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 });

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


回答1:


The answer is in the changelog:

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



来源:https://stackoverflow.com/questions/43588768/tabs-load-doesnt-reload-content-in-jquery-ui-1-2-1

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!