In a web page, when JavaScript starts to run? For example,
HTML section 1
Javascript section 1
Event handler routine 1
HTML section 2
Javascript section 2
Event handler routune 2
Is this running order correct?
- Web page load complete
- Image file load complete
- Javascript section 1 starts and finishes execution
- Javascript section 2 starts and finishes execution
- Event handler routine starts on event
Will no event handler routine run before JavaScript section 2 is finished?