且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

停止在每次点击时加载Jquery UI ajax选项卡内容

更新时间: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 });