It's pretty simple, we have this line. I'd like to grab the info from:
console.log($('#fourth-step tr:nth-child(3) td:nth-child(3)'));
So the output is #fourth-step tr:nth-child(3) td:nth-child(3).
This outputs a very long object but I need only the selector information.
I'm almost sure somewhere already is a thread about this problem but I couldn't find any, sorry.
To make things easier, there is a list of things that I've tried and they didn't work*.
console.log('z' + {obj});console.log(JSON.stringify({obj}));console.log(String({obj});
{ and } - shortcut.
Any ideas? :)