It is not possible to assign an oclock event handler in the
It is not possible to assign an o\'clock event handler in the body of an external JavaScript file directly because
a) event handlers require CSS definitions which are not available until the run time
b) event handlers are only defined once the HTML document is loaded
c) the body of the HTML document has not yet been loaded
d) it is poor style to do so
e) anonymous functions are not defined until the HTML document is loaded
Solution
Answer :
It is not possible to assign an o\'clock event handler in the body of an external JavaScript file directly because
a) event handlers require CSS definitions which are not available until the run time
b) event handlers are only defined once the HTML document is loaded
c) the body of the HTML document has not yet been loaded
d) it is poor style to do so
e) anonymous functions are not defined until the HTML document is loaded
Answer :
e) anonymous functions are not defined until the HTML document is loaded
Explanation:
It is not possible to assign an o\'clock event handler in the body of an external JavaScript file directly because anonymous functions are not defined until the HTML document is loaded.
