Is there any good way to see/debug the result of a jQuery selector ?
Let's say we have something like this
var arr = $('div > span').parent();
How can I see what the selector contains?
Just to make this a bit harder: Can I do the same in http://jsfiddle.net/ ?
in firebug or chrome console do:
console.log($('div > span').parent());
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With