Selecting DOM elements based on ID values
<p>I have some textboxes in the DOM someting like </p>

<pre><code>&lt;INPUT id=txtQuantity587117 /&gt;
&lt;INPUT id=txtQuantity587118 /&gt;
&lt;INPUT id=txtQuantity587119 /&gt;
&lt;INPUT id=txtQuantity587111 /&gt;
&lt;INPUT id=txtQuantity587112 /&gt;
</code></pre>

<p>The elements are all nested and are not under any particular parent node.</p>

<p>Is there a way to select all the input elements with id text that starts with "txtQuantity".</p>

<p>I want a way with javascript and not with Jquery. Thanks.</p>
