how to get all data which stored in jquery.data()
You can call .data()
without any arguments to get all an object with all the entries, like this:
$("div").data() //returns object
This object will have all they keys available, for example if:
$("div").data("thing") //returns "value"
Then $("div").data()
would return at least:
{ thing: "value" }
JQuery documentation: http://api.jquery.com/data/#data
$("div").data();