+ 1

If i named class 'first' then what happened?

<div /"> <div class="test"/> <div class="first"> ... $("div.first")

18th Jan 2017, 8:16 AM
Uguumur Oldokh
Uguumur Oldokh - avatar
1 Respuesta
+ 3
Nothing particular... 'first' is a valid classname in html/css, so it does also in JQuery ^^
18th Jan 2017, 8:42 AM
visph
visph - avatar