[removed] Bold all table td entries which contain “*sometext*” on mouse-over

前端 未结 3 1122
执笔经年
执笔经年 2021-01-27 12:34

I have a table element on some page. It contains some table rows with cells, containing hrefs.

My target is: when I point mouse cursor over som

3条回答
  •  离开以前
    2021-01-27 13:07

    Best method would be to set class to any cell with the specific text while making the HTML. If it's impossible, You can use simple script to do so on load:

    
     
       
          Bla! 
         
         
       
       
            
    not bold bolding not bold bolding
    not bold bolding not bold bolding

    If you can do it ahead - then simply to the 'bolding' td's add :

     bolding 
    

    and all the js is useless.

提交回复
热议问题