How can I change the type of a button from "button" to "submit" with jQuery?
<p>I have the following form:</p>

<pre><code>&lt;form id="xx"&gt;
&lt;button type="button"&gt;Submit&lt;/button&gt;
&lt;button type="button"&gt;Submit and Close&lt;/button&gt;
&lt;button type="button"&gt;Close&lt;/button&gt;
&lt;/form&gt;
</code></pre>

<p>How can I change the type of my buttons that contain the word "Submit" from a type "button" to a type "submit"?</p>
