5 ms·
1) The dom state is that everything inside the HTML element that you were waiting for already exists when the function is executed. 2) When i am writing javasc
by AltIvan 15y ago
1) The dom state is that everything inside the HTML element that you were waiting for already exists when the function is executed.
2) When i am writing javascript is very common for me to use the global object (window) as the context; so in my case is not a good idea to use the HTML element as context by default.