Skip to content

Instantly share code, notes, and snippets.

@gyndav
Created September 2, 2011 07:56
Show Gist options
  • Save gyndav/1188129 to your computer and use it in GitHub Desktop.
Save gyndav/1188129 to your computer and use it in GitHub Desktop.
jQuery filter for querying all "display: inline" elements
$.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