My favorites | Sign in
Project Home Downloads
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 6: Decide about the value 'this' for callbacks
1 person starred this issue and may be notified of changes. Back to list
Status:  Verified
Owner:  moo...@wwwendt.de
Closed:  Sep 2008


 
Project Member Reported by moo...@wwwendt.de, Aug 30, 2008
What should be the value of 'this' in the callback functions?
Could be
 * the <span> element
 * the DynaTreeNode object
 * $(..) wrapped <span> element
Aug 30, 2008
Project Member #1 moo...@wwwendt.de
or the event object
Sep 1, 2008
Project Member #2 moo...@wwwendt.de
http://docs.jquery.com/Types#Function

"All event handlers in jQuery are called with the handling element as the context."
Sep 1, 2008
Project Member #3 moo...@wwwendt.de
onSelect, onFocus, onBlur, and onLazyRead set 'this' to the node's <span> tag.
Status: Fixed
Jul 17, 2012
Project Member #4 moo...@wwwendt.de
considered verified
Status: Verified

Powered by Google Project Hosting