How does this data.target == this work? 
jquery example
.mouseup(function(data, handler)
        {
           if(data.target == this)
           {
              // some code
           }
        })
Does this compare the objects by comparing each of their respective properties?
I need this check because I want the mouseup only on the parent div and on one child.
if (data.target == this || * if this has className XXX  * ) {
   // some code
}
 
     
     
     
    