title: Jquery Tab panel to get focus on key press
body: <p>I have a jquery tab panel. This panel contains some user controls like textboxes. My requirement is to set focus on tab when I press <kbd>Shift</kbd>+<kbd>T</kbd>. This is not happening. I have used the following code. </p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  
      $(document).ready(function () {
          $("#tabs").keypress(function () {
              if (e.keyCode == 80 &amp;&amp; e.keyCode == 18)
                  $("#tabs").focus();
          });
  
          $("#tabs").focus(function () {
              if (e.keyCode == 37) {
                  selected = (selected - 1);
                  $('#tabs').tabs('option', 'selected');
              }
              if (e.keyCode == 39) {
                  selected = (selected + 1);
                  $('#tabs').tabs('option', 'selected');
              }
          });
      });
  
  &lt;/script&gt;
  </code></pre>