Return to Snippet

Revision: 24991
at March 17, 2010 11:41 by tennison


Initial Code
// e.target.tagName.toLowerCase()

var $el = (e.target.tagName.toLowerCase() == 'li')? $(e.target) : $(e.target).parent();

Initial URL

                                

Initial Description

                                

Initial Title
element node type

Initial Tags

                                

Initial Language
JavaScript