title: Dijit TabContainer Events - onFocus
body: <p>I have a Tab Container and I want to execute some js when I click on a tab's title bar.</p>
  
  <p>I can't seem to figure out how to add an event to that.</p>
  
  <hr>
  
  <p>EDIT:</p>
  
  <p>It looks like I'll be using <a href="http://dojotoolkit.org/api/1.6/dijit/layout/TabContainer#onFocus" rel="nofollow noreferrer">onFocus</a>, but I'm still having trouble finding the proper syntax.</p>
  
  <hr>
  
  <p>EDIT: Found <a href="https://stackoverflow.com/questions/4487713/onfocus-and-onblur">onFocus and onBlur</a>, but still having trouble getting it to work.</p>