Is there a way to select a tab in a tab container upon load depending on a url parameter?
I have tried the following but nothing seems to happen and the tab I want is not selected:
dojo.addOnLoad(function() {
tabToSelect = getParameter("tab");
if(tabToSelect){
dijit.byId("container").selectChild(tabToSelect); } }
I have console logged out the parameter and I know it is correct.
I have a strong feeling I am missing something....