I was wondering if there\'s a way to select an item (div,span,whatever..) using javascript with jQuery (+ jQuery UI lib) based on its data attribute value. For example, let\
Try this
$("div.b").filter(function() { return $.data(this, "myKey") == 1234; });