$(".box").html($(".box").html().replace(/定位于/,"致力于"));
let str = `<a class="btn btn-xs btn-success restorebtn" href
jquery替换html内容
最新推荐文章于 2023-07-30 20:58:18 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)
$(".box").html($(".box").html().replace(/定位于/,"致力于"));
let str = `<a class="btn btn-xs btn-success restorebtn" href