How do you redefine this in a jQuery click event handler? I read a few years ago that Edge had an optional parameter that you could pass in to have this bound to something else, but does not seem to be the case any longer.
How do you redefine this in a jQuery click event handler? I read a
Share
There are two common ways. I prefer using jQuery.proxy
The other common alternative is to assign
thistoselfinside the function where you call the click handler.