Rather New to javascript and hoping that I've come to the right place.
Currently I am trying to make a button that will place specific formatted text in a text box, however I am unsure on how to make the text keep its format.
I would like to be able to include elements like p /p and b /b in the text.
Example how I'd like to see it: 
Customer is having problems, 
 please proceed to the location and repair the service 
Javascript:
function myFunction() {
document.getElementById("textbox").innerHTML = "Customer is having problems, please proceed to the location and repair the service ";
  var oTextbox1 = document.getElementById("textbox"); 
oTextbox1.focus(); 
oTextbox1.select(); 
document.execCommand('copy')
}
Any help on this would be greatly appreciated.
 
     
    
please proceed to the location and repair the service "; Use html in that string, you can't. – Hesein Burg May 24 '17 at 19:54