0
0

0
0
0

It’s not easy to go on click of external link open dojo dijit layout tab second tab, here is some ready made code for you.

Dojo dijit layout tab html

 
 
 <div id="tabs" dojoType="dijit.layout.TabContainer">
  <div id="123" dojoType="dijit.layout.ContentPane" title="test123">
    123
  </div>
  <div id="456" dojoType="dijit.layout.ContentPane" title="test456" >
    456
  </div>
    <div id="789" dojoType="dijit.layout.ContentPane" title="test789" selected="true">
    789
  </div>
</div>
 <a href="#456" id="GoTOTabTwo" onclick="clickedMe()"> Go TO Tab Two</a>

Dojo dijit layout tab script

 

 dojo.require("dojo.parser");
dojo.require("dijit.layout.TabContainer");
dojo.require("dijit.layout.ContentPane");

dojo.ready(function(){
  
  dojo.parser.parse();
    
  
    var myDiv = dojo.byId("GoTOTabTwo");
    dojo.connect(myDiv, "onclick", function(evt){
         dijit.byId('tabs').selectChild(dijit.byId('456'));
    });
           
});


Working example