I am creating Tabs in javascript in my ASP.Net web site. Say Tab 1 Tab 2--- Tab 10. When I click on Tab 1 it shows some data and I call setTimeout function that keeps refreshing the Tab 1 data. My problem is when i switch to other tabs the settimeout function still keep running in the background, that i don't want. How can i stop this on moving to other tabs.
Thanks
Regards Vivek