How to select in jQuery
<p>I have the following html and need to grab the price to a variable when the button is clicked using jQuery. Ideally just want the number without the £ sign.</p>

<pre><code>&lt;p&gt;&lt;span class="gift_price"&gt;£12.99&lt;/span&gt;&lt;/p&gt;                                                                       

&lt;form&gt;&lt;input type="submit" value="Add to basket" class="add_to_basket" /&gt;&lt;/form&gt;
</code></pre>

<p>I have the following but can't quite get any further:</p>

<pre><code> $(".add_to_basket").click(function(){
                    var price = $(this).parent().prev()[0];
                    return false;
                });
</code></pre>

<p>But this only gets me as far as the <code>&lt;p&gt; ... &lt;/p&gt;</code></p>

<p>There are lots of these on a page so can't just select by .gift_price, need to do it by getting the closest one to the submit button</p>

<p>I'm sure there is a super quick way</p>
