The best way to change favicon in browser
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/260857/changing-website-favicon-dynamically">Changing website favicon dynamically</a>  </p>
</blockquote>



<p>How is possible to create loading effect on tab (favicon) in gmail way. When I click something which needs use AJAX, gmail show nice loading circle in tab or title bar of browser. I know that I can change favicon but all my tries ends in ugly way - sometimes it is working, sometimes not. Sometimes favicon doesn't change, sometimes it change ones and later changes are not applies. What is the best way to do that?</p>
