Having a form in first accordion, click submit and it goes to the next accordion (1 post)

  1. watsonink
    Posted 2 years ago #

    I am trying to make an onclick form function trigger the opening of the next accordion area, is there an option to do this already or do I have to figure out how you guys got it to work in the plugin?

    I thought I could just add the function:

    jQuery( "h3 .whistle-title:nth-child(2)" ).attr( 'aria-selected', 'true' );

    on the onClick but that did not work. I did find the function to close the first accordion when the button is clicked so that is working.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Whistles
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic