Select only visible text fields in jQuery

Posted by misha-moroshko on Stack Overflow See other posts from Stack Overflow or by misha-moroshko
Published on 2010-04-18T15:34:38Z Indexed on 2010/04/18 15:43 UTC
Read the original article Hit count: 145

Filed under:

Is there a nicer way in jQuery to do this ?

$(":text").each(function() {
   if (this.style.visibility == "visible") {
      ...
   };
});

© Stack Overflow or respective owner

Related posts about jQuery