Jquery gets the parent container object sample code for the element


Example: gets the img tag with id a

$(” # a ”). The parent (). The attr (” id ”);