Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6674419
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T03:44:34+00:00 2026-05-26T03:44:34+00:00

I am using jquery-ui-tabs to allow users to create their own tabs, then ofcourse

  • 0

I am using jquery-ui-tabs to allow users to create their own tabs, then ofcourse switch between tabs as they see fit. The content in the widgets are small widgets which are like mini programs in their own right. Users can then choose which widgets they want on any given tab.

This works fine as long as any given widget is only set in 1 tab, however, things start going wrong when any given widget is added to 2 tabs or more. When the widgets are generated, they use the id from the database. For example . If a given widget is added to 2 or more tabs, they end up with 2 divs with the id same id, for example widget_1, which causes problems as you can imagine.

So my question is, what is the best way to solve such a problem?

I wish I knew earlier that they wanted to be able to use the same widget on more than 1 tab. I get the feeling this is almost going to have to be a complete rewrite…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T03:44:35+00:00Added an answer on May 26, 2026 at 3:44 am

    does the “div called div1” have “div1” as class or id?

    your question sounds like it’s an id, and thats all the problem: the id has to be unique

    to solve this, work with classes – they can be used multiple times and you should be able to do the exact same things (but thats a bit hard to say without seeing some code).

    EDIT: changed my fist link to show the w3c-recommendation. i linked this article before

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using jQuery tabs to create a unique user interface for a project I'm
I am using jQuery tabs with the collapsible option. I was wondering how to
I'm using jQuery tabs. In one of the tabs is a wysiwyg editor that
I have a page that is using jQuery tabs. Within one of my tabs
I am using jquery UI tabs I have three ajax tabs like so: <div
I am using jQuery UI Tabs . <div id=tabs> <ul id=tablist> <li><a href=#fragment-1><span>One</span></a></li> </ul>
I'm using the jquery tabs plugin and want to have the background a light
I am using jquery-ui tabs and ajax to load the content of the tabs.
I'm using jQuery UI Tabs to load some content via Ajax when the user
Im using jquery UI's tabs with ajax. I was wondering if the files that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.