How can I find an element ID when I only know the text inside the element with jQuery?
<p>I have a form with id="main-form" and inside that there's a class="block-footer" </p>

<p>Inside that an element: </p>

<pre><code>&lt;button type="button"&gt;Submit&lt;/button&gt;
</code></pre>

<p>How can I use jQuery to find this button without my adding an Id to the element? The button always has the text of Submit.</p>

<p>Is it worth using the id="main-form" as a starting point in my selection to make it more efficient?</p>
