如何去掉href属性

如下:

 a = trr.getElementsByTagName("A");

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

posted @ 2006-09-18 16:05  竹君子  阅读(198)  评论(0)    收藏  举报