准备好功能太晚了? [英] ready function too late?

查看:66
本文介绍了准备好功能太晚了?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Noob在这里。


我已经在我的网络应用程序中加入了jquery ui tab控件。它工作正常

,但页面出现无标签,然后闪烁到所需的选项卡

设置。标签功能通过以下方式获取:


< script>

$(文件).ready(function(){

$(&#example ul")。tabs();

});

< / script>


我最初是否看到了无标签渲染,因为上面发生了

为时已晚?我从这里的例子中复制了它:

http:// docs.jquery.com/UI/Tabs


kt

Noob here.

I have incorporated the jquery ui tab control in my web app. It works Ok
but the page comes up un-tabbed and then flashes into the desired tab
setup. The tabs capability gets in via:

<script>
$(document).ready(function(){
$("#example ul").tabs();
});
</script>

Am I seeing the un-tabbed rendering initially because the above happens
too late? I copied that from the example here:

http://docs.jquery.com/UI/Tabs

kt

推荐答案

(文件) .ready(function(){
(document).ready(function(){


(" #example ul")。tabs();

});

< / script>


我最初看到未标记的渲染,因为上面发生了

太晚了?我从这里的例子中复制了它:

http:// docs.jquery.com/UI/Tabs


kt
("#example ul").tabs();
});
</script>

Am I seeing the un-tabbed rendering initially because the above happens
too late? I copied that from the example here:

http://docs.jquery.com/UI/Tabs

kt


10月10日,10:03 * pm ,Kenny< kentil ... @ gmail.comwrote:
On Oct 10, 10:03*pm, Kenny <kentil...@gmail.comwrote:

Noob here。


我已经合并了jquery ui我的网络应用中的标签控件。它工作正常

,但页面出现无标签,然后闪烁到所需的选项卡

设置。标签功能通过以下方式获取:


< script>

* *
Noob here.

I have incorporated the jquery ui tab control in my web app. It works Ok
but the page comes up un-tabbed and then flashes into the desired tab
setup. The tabs capability gets in via:

<script>
* *


这篇关于准备好功能太晚了?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆