jquery tabs postback problem

前端 未结 4 924
囚心锁ツ
囚心锁ツ 2021-02-14 17:42

i am using jquery library in my project.I have terrible problem with jquery tabs.Solutions is that when i was in third tab,i post back my form,tabs reloaded and goes to first t

4条回答
  •  执笔经年
    2021-02-14 18:20

    I attempted to use the solution posted by joelsand. However, the jQuery Tabs options and events have changed. The current documentation is at http://api.jqueryui.com/tabs/.

    Instead of the "show" event, I used the "activated" event. Instead of the "selected" option, I used the "active" option. Instead of a hidden field, I used a JavaScript variable (declared outside the UpdatePanel)

提交回复
热议问题