Skip to content

Instantly share code, notes, and snippets.

@sangcu
Last active August 29, 2015 14:08
Show Gist options
  • Save sangcu/26bd2a4e91b1fbb53969 to your computer and use it in GitHub Desktop.
Save sangcu/26bd2a4e91b1fbb53969 to your computer and use it in GitHub Desktop.
$(document).ready(function(){
$('#myButton').click(function(sender,e){
var _this = this;
var $this = $(this);
console.log(_this.find==undefined,$this.find==undefined);
console.log(_this.prev==undefined,$this.prev==undefined);
console.log(_this.next==undefined,$this.next==undefined);
console.log(_this.parent==undefined,$this.parent==undefined);
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment