What does "this" keyword means in jQuery?
Hi
I know it is a very basic question but seems to be very confusing after reading some articles.
I had read few articles in related to "this" keyword but got confused with different-different references by people.
As per the articles "this" keyword stands for :-
1) If it is used inside event of some object let say button then this refers to button for which event is firing.
2) If it is used inside event of some object let say button then it refers to DOM element. (I don't which DOM element document or current button.)
Please help me to clear this doubt.