Multiple choice general knowledge

When can you not trigger Javascript from an event handler?

  1. when another event is still being processed

  2. when Javascript is disabled

  3. when the page uses stylesheets

  4. when it is running locally instead of on the web

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

When JavaScript is disabled in the browser, no JavaScript code can execute, including event handlers. This is typically a browser setting that users can configure. The presence of stylesheets, local execution, or other events being processed does not prevent JavaScript execution.