问题
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