Filter will just check to see if there is data stored with the name key
Checks to see that data stored with the name key matches the value passed
Checks to see that data stored with the name key does not match the value passed
Checks to see that data stored with the name key starts with the value passed
Checks to see that data stored with the name key ends with the value passed
Checks to see that data stored with the name key contains the value passed
Checks to see that data stored with the name key is greater than the value passed
Checks to see that data stored with the name key is less than the value passed
Checks to see that data stored with the name key is greater than or equal to the value passed
Checks to see that data stored with the name key is less than or equal to the value passed
Checks to see that data stored with the name key is a boolean value equal to the value passed('true' or 'false')
Runs a regular expression test on the data stored with the name key against the value passed
Passes the comparison operation to the special function stored using the $.dataSelector() method
To create your own comparison method, add your function to the list by declaring it in jQuery.dataSelector() like so:
$.dataSelector('typeof', function(data, value){
return typeof data === value;
});
Now you can use selector's like :data(name[typeof]=boolean) to filter through elements that have stored data with the name key whose value type is boolean.