set header in javascript code example
Example 1: js xmlhttprequest add header
XMLHttpRequest.setRequestHeader(header, value)
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");