如何去掉href属性

如下:

 a = trr.getElementsByTagName("A");

 a[0].removeAttribute("href"); 

原文地址:https://www.cnblogs.com/superch0054/p/4010195.html