Skip to main content
Inspiring
September 18, 2007
Answered

Spry tabbed panels

  • September 18, 2007
  • 1 reply
  • 341 views
i have 3 tabs and a form with a submit button on each. When I click the button it wants to default to the first tab. I tried

<input type="submit" name="Submit" id="Submit" value="Add Resource" disabled="true" onclick="TabbedPanels1.showPanel(1)" />

but it only shows it for a split second then goes to the first tab again. How can I get it to stay put?

Thanks
This topic has been closed for replies.
Correct answer Mark_P_
I tried writing a cookie and that worked out great. Here's what you do with the tabs JS:

1 reply

Inspiring
September 19, 2007
On some homemade tabbed panels (not spry) I set up some searchs and I
made it work by having each search tab contents on it's own separate
form.
Mark_P_AuthorCorrect answer
Inspiring
September 19, 2007
I tried writing a cookie and that worked out great. Here's what you do with the tabs JS: