title: Replacing an element which has same class naes
body: <p>I have 3 images all within the same class name "image"</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"&gt;&lt;/script&gt;
  &lt;div class="imageHolder" style="width: 80%; display:  inline;"&gt;
   &lt;div class="image"&gt;
    &lt;img src="//i.stack.imgur.com/nO2hl.png"&gt;
   &lt;/div&gt;
   &lt;div class="image"&gt;
    &lt;img src="//i.stack.imgur.com/IkjJW.png"&gt;
   &lt;/div&gt;
   &lt;div class="image"&gt;
    &lt;img src="//i.stack.imgur.com/QrKSV.png"&gt;
   &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>I would like to replace only the 2nd image with a different image link. So I tried something like this: </p>
  
  <pre><code>$('.image').find('img').attr('src', 'http://cdn.shopify.com/s/files/1/1061/1924/products/Smiling_Face_Emoji_with_Blushed_Cheeks_grande.png?v=1480481056');
  </code></pre>
  
  <p>However, this replaces all the images and not just the 2nd one so I tried to do <code>$('.image')[1].find(..)...</code>, but that didn't work I was getting the error: <code>Uncaught TypeError: $(...)[1].find is not a function</code>.</p>
  
  <p>I would greatly appreciate it if someone can please explain what I'm doing wrong and how I can fix this?</p>
  
  <p>Thanks.</p>