Why won't my jquery work : <p>I have more code but this is the important bit. The rest of it is a JS function and styling.</p>

<pre><code>        &lt;button onClick="gB()" id="gb"&gt; clickme&lt;/button&gt;
        &lt;script  src="jquery-1.12.2.min.js"&gt;
            $( document ).ready(function() {
                $('button').eq(0).trigger('click');
                };
</code></pre>
