如下:

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