When $(this).data("events"); [object Object] returns, I need to see what is really going on 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: (Exit) -
Name: click, Value: [object Object] |
-
Is there an efficient way to show everything inside this sucker, sort of like print_r in PHP?
javascript jquery object
Matt
source share