如何去掉href属性

如下:

 a = trr.getElementsByTagName("A");

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

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