With $(this).data("events");
returning [object Object]
, I need to see what's actually going on in there. I found this:
var Finder = "";
$.each($(this).data("events"), function(i, n){
Finder += "Name: " + i + ", Value: " + n + " | ";
});
However, n
still returns [object Object]
:
EDIT: (Output) --
Name: click, Value: [object Object] |
--
Is there an efficient way to show everything inside that sucker, kind of like print_r
in PHP?