title: Scrolling to and Opening a Div Using a onclick
body: <p>I have this code:</p>
  
  <pre><code>&lt;a onclick="$('a[href=\'#tab-customtab\']').trigger('click');"&gt;Enquire Now&lt;/a&gt;
  
  &lt;div id="tab-customtab"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>This opens up the div <code>#tab-customtab</code> but does not scroll to it. Is there a way to scroll to the div onclick?</p>