Altering registered symbols (R)

前端 未结 1 1127
野性不改
野性不改 2020-12-19 08:39

Would it be possible with jQuery to find in all symbols that are written with

®

and wrap them with a sup tag?



        
1条回答
  •  孤城傲影
    2020-12-19 09:16

    var replaced = $('body').html().replace('®', '®');
    $('body').html(replaced);
    

    0 讨论(0)
提交回复
热议问题