How to Retrieve Particular ID Elements within a Web Page using jQuery
<p>Hoping someone can assist as I am unsure how to approach but for the web page that I am on (i.e. in my web app), using jQuery, I would like to be able to add to an array in order of appearance through the web page, all elements where the id matches the string "_AB_Q_"</p>

<p>For example, scattered through the web page will be instances of the following:</p>

<pre><code>&lt;id="P1_AB_Q_101"&gt;...
&lt;id="P1_AB_Q_102"&gt;...
&lt;id="P1_AB_Q_103"&gt;...
&lt;id="P1_AB_Q_104"&gt;... 
..
...
....
&lt;id="P1_AB_Q_500"&gt;... 
</code></pre>

<p>As mentioned, I only want to retrieve full id names where the id matches the pattern "_AB_Q_" and then store these in an array for later processing.</p>

<p>So using the test data above, I want to only return:</p>

<pre><code>P1_AB_Q_101
P1_AB_Q_102
P1_AB_Q_103
P1_AB_Q_104 
P1_AB_Q_500
</code></pre>

<p>Thanks.</p>
