Code:
console.log(t);
console.log('temp[1]='+temp[1]);
  res = document.getElementById("labnol");

//var d = document.getElementsByTagName("body")[0];

Hey i ve wriiten code for hightighting a particular word in javascript.But m not getting how to replace all the hightighted word with dynamic words.
This is the code have written for highlighting words.

Code:
if ( t >= 0)
...