开发者

Handling jQuery Tabs with Our Own Indexes

开发者 https://www.devze.com 2022-12-16 06:10 出处:网络
I have created tabs dynamically with my own indexes, but when I try to add the tab, jQuery is giving it\'s own index.

I have created tabs dynamically with my own indexes, but when I try to add the tab, jQuery is giving it's own index.

How do I tell it no开发者_JAVA百科t to use the default indexing?

Example :

<ul>
    <li> <a href="#dummy-0" > </a></li>
</ul>
<div id="dummy-0"></div>

When I try to create it dynamically with my own index '0' it works, but at the same time it generates its own index .

How do I avoid this? Please help me.

0

精彩评论

暂无评论...
验证码 换一张
取 消