While working with JQuery UI Tabs i came across to find solution for selecting tabs dynamically. I did the following to get the index of the tab by name:
var index = $('#tabs a[href="#simple-tab-2"]').parent().index();
$('#tabs').tabs('select', index);
You might be more interested in JQUERY, JQuery UI, Jquery UI Tabs, TIPS AND TRICS
0 comments:
Post a Comment
Any Questions or Suggestions ?