Here’s a nicer way to get an ancestor element without chaining calls to parent().parent() etc.
jQuery / Javascript Resources
jQuery: get a specific ancestor of an element
	
		June 22nd, 2013 
		 
		Comments Off on jQuery: get a specific ancestor of an element
	
	
	
	
	
	
	jQuery: Smooth Scrolling Internal Anchor Links
	
		November 13th, 2010 
		 
		66 Comments
	
	
	
	Here’s a neat little jQuery trick to fancy up your internal anchor links, by making them scroll smoothly to their target as opposed to jumping instantly.
	
	
	Here’s a neat little jQuery trick to fancy up your internal anchor links, by making them scroll smoothly to their target as opposed to jumping instantly.
Javascript & jQuery Cheat Sheet
	
		December 5th, 2009 
		 
		Comments Off on Javascript & jQuery Cheat Sheet
	
	
	
	Even the smartest cookies forget things from time to time.. Here’s a collection of Javascript & jQuery code snippets for your reference.
	
	
	Even the smartest cookies forget things from time to time.. Here’s a collection of Javascript & jQuery code snippets for your reference.






