jQuery get heading text code example
Example 1: jquery set text of h1
$('#id').text("New Text");
Example 2: jquery find by innertext
$( "div:contains('innerText')" );
$('#id').text("New Text");
$( "div:contains('innerText')" );