This may seem like a simple questiom, but I have the following html
<div class="price">£4.99</div>
I’d like to add the word From to the beginning of this using jQuery.
I have the following:
$('.price:contains("£4.99")').html("(From: £4.99)");
This doesn’t seem to do anything.
The source has a �, which I’m guessing is to do with the pound sign.
Am I doing this right?
Thanks
UPDATE:
This HTML is in a PHP script.
Use this: