jQuery selector to identify a div by its size
Posted
by Anton
on Stack Overflow
See other posts from Stack Overflow
or by Anton
Published on 2010-03-21T01:50:27Z
Indexed on
2010/03/21
2:21 UTC
Read the original article
Hit count: 415
jQuery
|jquery-selectors
I have few nested DIVs at page. I want to add event only for smalest DIV which size is more than 100x100 px. I am able to do it using conditions in code. Is it possible to do using selector?
$('?????').click(function (e) {
}
If yes, please provide an example.
© Stack Overflow or respective owner