Syn.static.closest  function     

Returns the closest element of a particular type.

Syn.closest(el, type) -> undefined
{Object}
{Object}
{undefined}
© Jupiter IT - JavaScriptMVC Training and Support