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 tab. i am searching to solve problem long time.
<script type='text/javascript'> $(document).ready(function() { $('#example > ul').tabs({ remote: true, cache: true }); }); </script>
so how i solve this problem? thx your answers.
tabs can use cookies to store the current tab. Have a look at the tabs documentation. Down in the Options list there is an example of how to use cookies to store the current tab:
This requires the jquery cookies plugin to be included though.