更改注册符号(R) [英] Altering registered symbols (R)
本文介绍了更改注册符号(R)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
使用jQuery是否有可能在所有用编写的符号中找到
Would it be possible with jQuery to find in all symbols that are written with
®
并用sup标签包裹它们?
and wrap them with a sup tag?
<sup>®</sup>
推荐答案
var replaced = $('body').html().replace('®', '<sup>®</sup>');
$('body').html(replaced);
这篇关于更改注册符号(R)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文