Hi all,

Quick question about the $.data() function... Is there a way to see
everything that's currently stored in one of these data objects? Since
the function (and its compliment, $.data.removeData()) allow for
setting/retrieving/deleting key/value pairs, it seems natural that one
would want to do something like this:

for (var x in $jQueryObject.data) {
    do something with x;
}

Is it possible to iterate through the data cache? If not, why not?

Thanks in advance and regards,

--Bill

Reply via email to