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
1.4m articles
1.4m replys
5 comments
57.0k users