I want to highlight the word which user has searched. I am getting an array in response which will shows the occurrence of that word. I want to highlight that word inside my array which I received.
 success:function(response){
                     console.log(response); 
                      $("#h5data").append(sessionStorage.getItem("word"));
                      $("#WC").append(response.doc.count);
                      $.each(response.doc.occurrence, function (key, value) {  
          $('#exampleid').append("<tr>\
                <td>"+key+"</td>\
                <td>"+value+"</td>\
                </tr>");
        });
This is my ajax response which is showing the occurrence but now I have to highlight the word which user has searched.
