Having this code :
$(".toggle", '.Div1').on('click',function ()
{
alert("I was clicked becuase im .toggle is under the context of _________");
});
I need to get the context which the $(this) value is under.
How can I get the value of _______ ?
It's not possible. The Event object does not contain any reference to the jQuery object used to bind it.
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