Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Jquery each and visible - Unknown Pseudoclass or Pseudoelement 'visible'


i have a problem with jquery/visible. Hope somebody can help me.

This code works, but i get an error in firebug

$('.fse:visible').each(function (i)

-> Unknown Pseudoclass or Pseudoelement 'visible'.


second try

$('.fse').is(':visible').each(function (i)

-> $(".fse").is(":visible").each is not a function


Whats wrong?

Thanks in advance!
Peter

like image 878
Peter Avatar asked Sep 20 '25 11:09

Peter


1 Answers

I don't think it is an Error but a CSS Warning you are getting and it is normal. Had the same trouble (even appears on the jquery.com website) some time back.

See the discussion here: http://old.nabble.com/Unknown-pseudo-class-or-pseudo-element-%27odd%27.-td25425663s27240.html

like image 158
sunn0 Avatar answered Sep 22 '25 03:09

sunn0