Tony_Henrich
Tony_Henrich

Reputation: 44085

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!).

alt text

Upvotes: 4

Views: 4512

Answers (3)

sroussey
sroussey

Reputation: 420

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...

Upvotes: 0

James
James

Reputation: 12796

Enter your variable or expression into the watch window or use the DOM tab as others have mentioned.

alt text

Upvotes: 0

Hristo
Hristo

Reputation: 46467

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

Upvotes: 1

Related Questions