Possible Duplicate:
Select div with specific width
Is there a way to select all elements based on dimensions? LIKE
$('*[width()>'400px']')
The :even selector selects each element with an even index number (like: 0, 2, 4, etc.). The index numbers start at 0. This is mostly used together with another selector to select every even indexed element in a group (like in the example above).
The * selector selects all elements. The * selector can also select all elements inside another element (See "More Examples").
The :button selector selects button elements, and input elements with type=button.
$("*").filter(function () {
return $(this).width() > 400;
}).hide();
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With