title: event on tab deselect in jquery ui tabs
body: <p>I m using jquery ui tabs 1.8.1</p>
  
  <p>I want to bind an event or a script to run when a tab gets deselected and any other tab is selected </p>
  
  <p>for eg. if i have four tabs and tab four is selected
  when i select tab 1 or tab 2 then a event should run such that
  i can stop any timers running in tab 4</p>
  
  <p>Another question related is if i m running any timers using <a href="http://plugins.jquery.com/project/timers" rel="nofollow noreferrer">this</a></p>
  
  <p>or if i m using setInterval using standard jquery</p>
  
  <p>it doesn't stop automatically on selecting any other tab...</p>
  
  <p>any solution would be a great help...</p>
  
  <p>thanks</p>
  
  <p>Pradyut</p>
  
  <p>India</p>