How do you test whether a tab is active or not with a dojo tab container? (In JQuery this is simple... you can use something like this
if($("#accordion").accordion('option', 'active') == mytabNumber){
With dojo's, dijit.layout.TabContainer there must be a similiar way to do it without having to write a litener function and all that jazz.
perhaps something like...
if( dojo.byId("tab2"), {selected:true} ){
Thanks in advance!