javascript txt attribute change code example
Example 1: javascript change element id
var element = document.getElementById("oldID");
element.id = "newID";
Example 2: javascript set header text
var headingDiv = document.getElementById("head");
headingDiv.innerHTML = "<H3>Public Offers</H3>";
//Or with jQuery
$(".head h3").html("your new header");