Newbie help; getting the text outside of span tag
<span class="uc-price-product uc-price-sell uc-price"><span class="price-prefixes">Price: </span>$34.00</span>
My generated HTML is like above. How do I get 34 from above?
I tried the following to get $34.00 like this, but not working:
alert ($(".uc-price-list").text()); //it is getting inner span along with the $34.00; i just want number part. Thanks for the help.