更新时间:2023-12-05 17:16:16
我认为您不希望每次都使用ajax加载文档. 比您可以启用true的缓存选项. 它只会加载一次文档并将其保存在缓存中. http://jqueryui.com/demos/tabs/#option-cache >
I think you want not to load document every time using ajax. Than you can enable cache option true. It will only load document one time and save it in cache. http://jqueryui.com/demos/tabs/#option-cache
$( ".selector" ).tabs({ cache: true });