Zrobiłem taką testową funkcje i trudno nie zauważyć, że nie drgnie nawet. Próbowałem tej metody z różnymi elementami tudzież identyfikatorami i bez efektu : (
Przykładowy mój kod z praktyki:
function Test()
{
var eID = document.getElementById("All");
eID.setAttribute("width","10");
}