EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: Opan Mustopah on November 10, 2014, 12:41:57 AM



Title: how to save tabs state
Post by: Opan Mustopah on November 10, 2014, 12:41:57 AM
hello again,

how to save state on tabs plugin. for example i already open 2 tabs on my web, tab A and tab B. and then i click/choose tab B
when i refresh (f5), it will show that two tabs, and automatically choose tab B.

it is possible to do that with tab plugin?

thanks in advance
Opan


Title: Re: how to save tabs state
Post by: stworthy on November 10, 2014, 07:25:32 AM
You have to store the selected tab index by yourself. Call 'select' method to select a tab panel or set the 'selected' property to initialize the tab index.