简体   繁体   English

如何在jquery / javascript中为多个选项卡显示相同的选项卡内容。

[英]How to show the same tab content for multiple tabs in jquery / javascript.

For example i have tabs like 1,2, 3, 4,5 now when user selected 2,3,4 tabs we need to show the same content and the remaining tabs different. 例如,当用户选择2、3、4个选项卡时,我现在拥有1,2、3、4,5这样的选项卡,我们需要显示相同的内容,其余的选项卡则不同。 How i can do this one . 我该怎么做。

您可以使用Bootstrap手风琴或折叠,并为相同的内容选项卡设置相同的内容ID。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM