There are two issues that appear to happen related to switching tabs
Issue 1. Using jqxTabs, I attempted to generate dynamic child tab groups within the parent tab on button click. After hitting the button, I am getting the following errors (Screenshot attached).

Issue 2. After hitting the button in the second tab (please check jsfiddle link below) quickly switch to another tab, and then 3 seconds later switch back to the first tab. Now you can see that the child tabs are out of alignment (Screenshot attached)

To work around this, I’ve added the JSFiddle URL.
JSFIDDLE
Thanks, your help would be much appreciated