jquery changing only he first img in a div code example Example: get first image in div $('.m-carousel-inner').find('img:first');