How to Read a webpage and extract certain links using jQuery?
<p>Its on the same domain.. both my Jquery code and the url to read.</p>

<p>What i want to do is first read the webpage using Jquery and then parse certain links which has "ProductDetails.php" and extract "ProductCode" from the webpage into array.</p>

<p>The html page may have many instances of a href="ProductDetails.php which looks like below.</p>

<pre><code>&lt;a href="ProductDetails.php?ProductCode=SMS%2D15%2DXLG%2DA7&amp;CartID=1" class="carttext colors_productname cart-item-name"&gt;item 1 &lt;a&gt;

&lt;a href="ProductDetails.php?ProductCode=SMS%dfdfde&amp;CartID=2" class="carttext colors_productname cart-item-name"&gt;test me item &lt;a&gt;
</code></pre>

<p>I dont know if this is really possible</p>
