How to inspect a jQuery object in Firebug like IE's debugger?
in IE I can view the structure of a jQuery object in an expandable 开发者_开发问答treeview. How do I get something similar in Firefox's Firebug?
Addition: The top dark box shows the object in IE. The bottom shows the same object in Firebug (pretty empty!).
Look at the "DOM" tab and in there will be listed a bunch of variables and objects and others. Find your jQuery object and you can navigate its content.
I hope this helps.
Hrsto
Enter your variable or expression into the watch window or use the DOM tab as others have mentioned.
Try the triangle in the watch tab, it will have options for what to show. Be sure the show user properties and show user functions are enabled...
精彩评论