title: How to click a button inside a modal after opens it?
body: <p>I really want to know, how can I click a button inside a Bootstrap modal after I've open it by clicking its link:</p>
  
  <pre><code>&lt;a href="#" data-toggle="modal" data-target="#myid"&gt;
  </code></pre>
  
  <p>Buttons have ids', so I think I can click the button using <strong>js</strong>, but I don't really know how to deal with this.</p>
  
  <p>Could I use a function such as <code>$("#buttonid").click();</code> in the <code>data-target</code> after the modal call?  </p>
  
  <p>I tried with no results. 
  Any help would be appreciate</p>
  
  <p>Here is the button code: </p>
  
  <pre><code>&lt;button type="submit" id="buttonid" name="Profile" href="#"&gt;
  </code></pre>