JavaScript - - By Sam Deering

jquery get parent element with specific class

Quick jQuery snippet to get parent elements with specific class.

var container = $(this).parents('.item');
Sponsors
Login or Create Account to Comment
Login Create Account