I am using tabclick event. The handler function has one parameter: event, from which I can get index of a tab. This is nice, but impracticality for my case. I need to store some ID (from mysql table) so I can act properly.
Tabs are made from <li>, but <li> has also a value.
So, I use this:
<div id='jqxTabsGraph'>
<ul style='margin-left: 20px;'>
<li value="15">Omara</li>
<li value="16">KavĨ</li>
</ul>
<div></div>
<div></div>
</div>
How can I get the value (15 or 16) from $(‘#jqxTabsGraph’).on(‘tabclick’, function (event) ?