How do I select elements based on data attribute?

How do I select elements based on data attribute?

Hi there,
It seems that selecting elements based on data has been added to jQuery ui core according to this http://dev.jqueryui.com/browser/trunk/ui/ui.core.js?rev=454

I am pretty new to jQuery so I am not sure what the sytanx would be for selecting all input checkboxes whose data element productID=1 for example? I tried a few combination but without success.

Thanks in advance!