jQWidgets Forums

jQuery UI Widgets Forums Navigation Tabs Same content in two different tabs

This topic contains 1 reply, has 2 voices, and was last updated by  Nadezhda 10 years, 3 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Same content in two different tabs #68041

    dtrue
    Participant

    Hello,

    I’ve got some content in one tab that I need to have display in a second tab. I have four tabs, but I want to display the content in tab 1 in tab 2 as well after making minor changes. I would just copy it, but it is so complex that it would be much easier if I could do it this way. Basically what I want is when someone clicks on the header for tab 2 it actually shows the content of tab 1. If they click on tab 3 or 4, it works the same as usual. For tabs 1 and 2, I want to use the data from tab 1, but just make a few minor changes.

    THANKS

    Same content in two different tabs #68061

    Nadezhda
    Participant

    Hello dtrue,

    Here is an example which shows how to set the content of Tab 2 dynamically with ‘setContentAt’ method: http://jsfiddle.net/xvk5m00q/. I hope it would be helpful to you.

    Best Regards,
    Nadezhda

    jQWidgets team
    http://www.jqwidgets.com/

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.