How do I change/replace the <h3> text: "Featured Offers" using javascript to say "Public Offers" instead?
<h3>
</div> <!-- FEATURED OFFERS --> <div class="panel"> <div class="head"> <h3>Featured Offers</h3> </div> <div class="body"> <table> <thead> <tr>
If you can select it, you can manipulate it.
Try this:
$(".head h3").html("your new header");
But as others mentioned, you probably want head div to have an id.
head
2.1m questions
2.1m answers
60 comments
56.9k users