jQuery('table tr td').each(function() {
console.log ( this );
});
In the above example, console.log ( this ); prints:
<td valign="top">
Color: Blue<br>
Size: M<br>
<div>Qty: 2</div>
<div>Price: $14.95</div>
</td>
How can I get the current selector, which is "table tr td," from "this"?
I tried using console.log ( jQuery(this).selector ); but it prints nothing.