Using jQuery to highlight a character of a string on a webpage

前端 未结 4 1788
眼角桃花
眼角桃花 2021-01-27 05:35

I want to use jQuery to highlight a character of a string on a webpage at an index of some value. The value is variable – one time it will be at the index of 2, and the ne

4条回答
  •  孤城傲影
    2021-01-27 05:51

    This works just fine.

    Include jquery plugin in your code.

    
    
                                     
                  
提交回复
热议问题