title: Oracle APEX - Region Display selector - selecting a specific tab
body: <p>I'm trying to figure out how to select a specific tab under Region Display Selector based on a hidden page item.</p>
  
  <p>I have a RDS with a bunch of regions under it and a hidden page item that contains a value - region name. By default, when page is accessed, the last selected region is showing but I need to select a region based on the hidden page item. </p>
  
  <p>I have tried the following javascript:</p>
  
  <pre><code>sessionStorage.setItem(".&amp;APP_ID..&amp;APP_PAGE_ID..RDS.activeTab","#CR_SR_TAB_1");
  $('#RDS a[href="#CR_SR_TAB_1"]').trigger('click');
  </code></pre>
  
  <p>but that did not work.</p>