javascript get first image in div code example Example: get first image in div $('.m-carousel-inner').find('img:first');