Gavin Kistner wrote:
The second example in section 8 uses the following code:
var x = document.querySelector(#foo, #bar);
It goes on to rather explicitly state, In the sample document above, it
would select the div element with the ID of foo because it is first
***in document order*** (my
The second example in section 8 uses the following code:
var x = document.querySelector(#foo, #bar);
It goes on to rather explicitly state, In the sample document above,
it would select the div element with the ID of foo because it is first
***in document order*** (my emphasis).