Prototypejs: Selecting Visible Elements
I am trying to formulate a selector to select a set of visible elements. Our application uses the Prototype JavaScript framework, version 1.6.0.3. The markup I'm working with is as
Solution 1:
You can filter the items using the findAll function:
var notVisible = $$('li').findAll(function(el) { return !el.visible(); });
Post a Comment for "Prototypejs: Selecting Visible Elements"