selecting tabs conditionally
Hi,
I have a page with 6 tabs, each tab contains a form. what I would like to do, is when user clicks continue button, the form processes, sets a check variable and when the page reloads, if the check variable exists, select and display the next tab. Everything is working except the selection of the next tab on reload.
- <cfif isDefined('form.advT2')>
- <cfoutput><cfdump var="#form#"></cfoutput>
-
- <script type="text/javascript">
- $(document).ready(function() {
- $('div#TabbedPanels1').tabs({'select', '#tabPanel-3' });
- });
- </script></cfif>
I have also used the zero-based index for the tab also and no love. I get the default.
Any suggestions or examples will be greatly appreciated.