Замените innerhtml javaScript на regex
var source_string = “The is a JavaScript tutorial”;
var rep_string = source_string.replace(“JavaScript”,”JS”);
Mysterious Macaw
var source_string = “The is a JavaScript tutorial”;
var rep_string = source_string.replace(“JavaScript”,”JS”);