Hi everybody,
I try to get the first .myClass element of my page.
To do that, I use $(".myClass:eq(0)");
This is working perfectly but gives me the following console error:
"Warning: Pseudo-class or pseudo-element "eq" unknown."
(Traduced from french)
Is that error normal? Is there a way to avoid it? Which syntax do you use to select first elements? I also tried $(".myClass:first");
but the problem is then the same with first.
Thank you in advance for your help David