Created
September 2, 2011 07:56
-
-
Save gyndav/1188129 to your computer and use it in GitHub Desktop.
jQuery filter for querying all "display: inline" elements
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$.extend($.expr[:], { | |
isInline: function(e) { | |
return $(e).css('display') == 'inline'; | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment