开发者

Highlighting all words including and after a specified word with JQuery?

开发者 https://www.devze.com 2023-02-22 04:36 出处:网络
Say I have a string: \"Hi there, Jack! How\'s it going?\" or \"A, B, C, D, E, F, Jack! What\'s up?\" Is开发者_JS百科 there a way to highlight \"Jack!\" and all the words after \"Jack!\" ?Here is a jq

Say I have a string: "Hi there, Jack! How's it going?" or "A, B, C, D, E, F, Jack! What's up?"

Is开发者_JS百科 there a way to highlight "Jack!" and all the words after "Jack!" ?


Here is a jquery plugin highlight that looks like it will do what you trying to do.

0

精彩评论

暂无评论...
验证码 换一张
取 消