How to set text in tag strong?

Better to add a class or id to the html element as below :

JS :

$(document).ready(function(){
    $(".text").html("Your content here...");
});

HTML :

<strong class="text">Strong text</strong>

Demo : http://jsbin.com/cihilobe/1/


Give the element an id and this bit of vanilla javascript will do the job.

document.getElementById("id").innerHTML = "some text";

Or jquery

$("#id").text("some text");

You can use JQuery's tag selector to change the text :

$("strong").text("what ever you want")