Witam. Prosiłbym o informacje jaka jest różnica pomiędzy(dla przykładu):

Kod
setAttribute("value", ...);
.value = ...;