0
点赞
收藏
分享

微信扫一扫

如何去掉href属性

Sikj_6590 2023-08-16 阅读 40


如下:

a = trr.getElementsByTagName("A");
 a[0].removeAttribute("href");

举报

相关推荐

0 条评论