If I create a jQuery UI tab control. I add one tab. I am adding a second tab. How to change tab position?
I want to create a new tab at the beginning of the tab buttons, so I use
$('.tabs').tabs("add","tabContent.htm","New Tab")
but this creates a tab and adds it to the end of existing tab buttons, but I need it to appear at the beginning. How can I switch my positions using jquery?
Not sure how to remove and add a button again before others.
Chris source
share