I just remembered that I did try using setAttribute() and it didn't work!