使用带有Ajax的jQuery .tabs()使用#in url预加载选项卡

很明显这适用于非ajax选项卡: http : //jqueryui.com/demos/tabs/default.html#tabs-2

但是如何让这个适用于ajax标签,如下例所示: http : //jqueryui.com/demos/tabs/ajax.html

我尝试过提供 ,但这并不是很有用,只是好奇这是什么最好的方法来使用url中的#来预加载带有jquery中的ajax标签的标签?

谢谢。

它也与ajax标签完全相同:

访问此页面: http : //jqueryui.com/demos/tabs/ajax.html#ui-tabs-2并注意显示的内容加载了ajax。