closest « jQuery « JavaScript DHTML






1.Add click event to document
2.Get closest tag