Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What happened to DOM level 1?

So, what happened to the DOM level 1?

For example, there are DOM level 0 events like this

window.onload = func;
element.onclick = func;

and there is DOM level 2 (and now even level 3) events

element.addEventListener("click", func, false);

However, there is no mention anywhere about DOM level 1 events? Was it like with Lesuire suit Larry 4 that got lost before it was ever released or was the nr 1 just skipped or didn't the level 1 include anything related to the events?

like image 664
Andris Avatar asked Sep 17 '25 19:09

Andris


1 Answers

DOM Level 0 isn't an actual spec, DOM Level 0 is just what we call DOM/JS features before the DOM was released. The W3C released DOM Level 1 in 1998. Prior to that there was no DOM spec.

There was no events model in DOM Level 1, it was released in DOM Level 2.

like image 153
meder omuraliev Avatar answered Sep 19 '25 10:09

meder omuraliev