I've alw开发者_Python百科ays thought it was until I got the above. Am I missing something?
The "input#header-login-email-input.initial-value" is not within "this".
Thanks
I assume e.target
is the target property of an Event
object, so it's a DOM element. When you call $()
on a DOM element, it just wraps the element in a jQuery object and returns that, so the context parameter (this
) doesn't really do anything.
精彩评论