title: jquery tab redirect
body: <p>I have this </p>
  
  <pre><code>$(document).ready(function() {
  
      //Default Action
      $(".tab_content").hide(); //Hide all content
      $("ul.tabs li:first").addClass("active").show(); //Activate first tab
      $(".tab_content:first").show(); //Show first tab content
  
      //On Click Event
      $("ul.tabs li").click(function() {
          $("ul.tabs li").removeClass("active"); //Remove any "active" class
          $(this).addClass("active"); //Add "active" class to selected tab
          $(".tab_content").hide(); //Hide all tab content
          var activeTab = $(this).find("a").attr("href"); //Find the rel attribute value to identify the active tab + content
          $(activeTab).show(); //Fade in the active content
          return false;
      });
  
  });
  
  
  
  
  
  
  &lt;div class="container"&gt;
  
      &lt;ul class="tabs"&gt;
          &lt;li&gt;&lt;a href="#tab1"&gt;File Encryption&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href="#tab2"&gt;File Integrity&lt;/a&gt;&lt;/li&gt;
  
      &lt;/ul&gt;
      &lt;div class="tab_container"&gt;
  
          &lt;div id="tab1" class="tab_content"&gt;
         &lt;/div&gt;
  &lt;div id="tab2" class="tab_content"&gt;
         &lt;/div&gt;
   &lt;/div&gt;
  &lt;/div&gt;  
  </code></pre>
  
  <p>this was index.php page. Now I want to get redirected from another page called, test.php but I want it to have tab2 open when I get back to index.php. how would I accomplist that.
  thanks</p>