Jquery gets the parent container object sample code for the element
- 2020-03-30 01:37:54
- OfStack
< img Alt = "" border = 0 SRC =" / / files.jb51.net/file_images/article/201402/20140210084726.png ">
Example: gets the img tag with id a
$(" # a "). The parent (). The attr (" id ");