Discussions » Development

how to refresh fixed tab?

§
Posted: 2014.08.28.

how to refresh fixed tab?

i want set autorefresh for second tab on tabbar, i dnt want match page via url, this make many problems. i have fixed tab and i want refresh this tab in some interval

§
Posted: 2014.08.28.

Hi,

try
location.reload();

Regards
Reek

§
Posted: 2014.08.29.

fuck i know how to reload tab, i want refresh one tab select it via number, not url match

§
Posted: 2014.08.29.

would like to find a cross-browser solution

woxxomMod
§
Posted: 2014.08.29.
Edited: 2014.08.29.

tab control isn't a part of any cross-browser specification, which is only natural since implementation of tabs is 100% application specific.

In such cases the only way is to check different browser methods of tabs control and use whichever tests positive:

if (chrome && chrome.tabs) { refreshtab_chrome() }

tabBrowser = ....
if (tabBrowser) { refreshtab_mozilla() }

.....

Post reply

Sign in to post a reply.