Hello ajcs,
I apologize for the confusion.
You can use the following code to get the state of a tab. Here #jqxTabs
represents the id of your jqxTabs element:
var state = !document.querySelectorAll("#jqxTabs .jqx-tabs-title")[index_of_tab].classList.contains('jqx-fill-state-disabled');
You can invoke the length
method to get the count of the tabs. For example:
var tabsCount = $('#jqxTabs').jqxTabs('length');
Please have a look at the example here:
https://jsfiddle.net/q0gb9rvj/2/
I hope this will fix your issue.
Best Regards,
Ivan Peevski
jQWidgets team
https://www.jqwidgets.com