Support » Plugin: Whistles » Having a form in first accordion, click submit and it goes to the next accordion

  • 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.

    https://wordpress.org/plugins/whistles/

  • The topic ‘Having a form in first accordion, click submit and it goes to the next accordion’ is closed to new replies.