Ok I have this code
$("#search-results-all").children(".search-result-item").length;
Now, all I want there is to select only the .search-result-item elements that is only visible by using css attribute visibility:visible. Now how can i make this possible?
P.S. Sorry I don't know what to type in Google so I can start searching.
UPDATE...
well it worked by doing something like this
$("#search-results-all").children(".search-result-item:visible").length;
thank you for the answers