Why it is impossible to write in variable values of styles?
var display = login.style.display //display == пусто
Why it is impossible to write in variable values of styles?
var display = login.style.display //display == пусто
This means that the "login.style.display" itself is empty, since you cannot withdraw it by alert.
el.style.someSteleProp
you can read only those styles that one way or another (either immediately in html, or dynamic, ie initialized with JS) - ZowieSource: https://ru.stackoverflow.com/questions/106387/
All Articles