jquery add text to end of element code example
Example 1: change text of element js
document.getElementById("p1").innerHTML = "New text!";
Example 2: jquery add input placeholder
$(".hidden").attr("placeholder", "Type here to search");
document.getElementById("p1").innerHTML = "New text!";
$(".hidden").attr("placeholder", "Type here to search");