开发者

How to create session for each Tab in jquery

开发者 https://www.devze.com 2023-03-27 22:40 出处:网络
How to create session for each tab in jQuery? In my application, I have two tabs. If I create a first tab dynamically, a tab will create and some content will load.Then if I create next tab, the cont

How to create session for each tab in jQuery?

In my application, I have two tabs. If I create a first tab dynamically, a tab will create and some content will load. Then if I create next tab, the content of second loadi开发者_Python百科ng properly. But again I go to first tab, the contents are not loaded fully.

It stopped while I created second tab. Only remaining contents are displayed. Please help me.


Place an iFrame in every tab page. The result will be that a new session is created for every tabbed page.


loadtab1() {
    if(loaded(this)) {
       return true;
    } else {
        return false;
    }
}

loadtab2() {
    if(loadtab1()) { load(this) }
}
0

精彩评论

暂无评论...
验证码 换一张
取 消