text replace with jquery

后端 未结 3 724
醉酒成梦
醉酒成梦 2021-01-28 16:28

So im using jquery to search and replace certain text in my html page. Which is:

function offon(){
  $(\"#sidebar li\").each(function(){
     $(this).html($(this         


        
3条回答
  •  忘了有多久
    2021-01-28 17:02

    We might need to see more markup to make sure the selector is correct. As well, as Boushley mentions, the timing might be such that the tooltips are generated (or added) after your jQuery executes.

提交回复
热议问题