Say I\'m looking for all elements with an attribute \'data-language\', whose value begins with \'java\' (would match both \'java\' and \'javascript\'). I know how to do this
There is no shortcut, you may use the attributes collection :
attributes
$(someselector).filter(function(){ var attrs = this.attributes; for (var i=0; i