title: Remove jQuery Tab from dnnTabs Programatically
body: <p>I have successfully implemented the jQuery dnnTabs in a custom module.  I am trying to figure out how to programmatically remove a tab.  </p>
  
  <p>Here is the javascript for setting up the tabs:</p>
  
  <pre><code>    &lt;script type="text/javascript"&gt;
          jQuery(function ($) {
                $('#tabs-demo').dnnTabs();
          });
      &lt;/script&gt;
  </code></pre>
  
  <p>Here is the function I created to remove the tag:</p>
  
  <pre><code>     &lt;script type="text/javascript"&gt;
          jQuery(function ($) {
              $('#tabs-demo').dnnTabs();
           });
       &lt;/script&gt;
  </code></pre>
  
  <p>Here is the function I created to remove the tag:</p>
  
  <pre><code>     &lt;script type="text/javascript"&gt;
           function removeTab(tabID) {
              $('#tabs-demo').dnnTabs('remove', tabID);   
           };
       &lt;/script&gt;
  </code></pre>
  
  <p>Here is how I calling the function from the code behind:</p>
  
  <pre><code>     ScriptManager.RegisterStartupScript(Me.Page, Me.[GetType](), "tmp", "&lt;script type='text/javascript'&gt;removeTab(1);&lt;/script&gt;", False)
  </code></pre>
  
  <p>Tab is not being removed.  I have tried several different iterations, with no luck.</p>