title: Make my button type="submit" open another accordion
body: <p>On my website which is using Bootstrap3 and I have a page which has 3 accordions on. All the accordions have fields and buttons and each has there own process in them.</p>
  
  <p>The issue I have is that when I click my <code>&lt;button type="submit"&gt;</code> from accordion 1, I want it to open accordion 2 (for example).  The button has to fire in my code behind so that it terminate the process done in accordion 1 before opening accordion 2. Obviously I cant use <code>&lt;button type="button"&gt;</code> as this doesn't fire in the code behind and I styled a <code>&lt;a&gt;</code> but then realized I couldn't get this to fire in the code behind.</p>
  
  <p>One solution I was given was to add <code>href</code> to the button although this isn't supported as it removes everything from my accordions so what other ways can I direct my button to fire in code behind to end my process and then open accordion 2.</p>
  
  <p>Maybe it needs to be done in JavaScript/jQuery or directly in HTML I don't know.  I would prefer HTML but I'm open to all suggestions please.</p>
  
  <p>I Googled it and I know that for a <code>button type="button"</code> the following attributes are required <code>data-toggle="collapse" data-parent="NameOfMyParent"</code></p>