Not able to open the second tab on page reload
Hi,
I have an apsx page with jquery tabs control (using ver 1.10.3), on the second tab I have 2 txt fields and a search button then a grid view table for the results.
When search button clicked, page reload happens & tabs goes again to the 1st tab, i need to stay in the second tab or (last tab before page reload).
I tried to use the following code but it doesn't work correctly:
- <script>
- $(function () {
- $("#tabs").tabs();
- var active = $("#tabs").tabs("option", "active");
- $("#tabs").tabs("option", "active", active);
- });
- </script>
Thanks in advance.