title: Typeof error on jquery function
body: <p>I'm a little new to javascript/jquery. I'm trying to make a function that will switch from a 200x200 image to a 400x400 image on hover. Luckily, all the 200x200 images end in .200.200.jpg and all the 400x400 .400.400.jpg and are otherwise the same file path. </p>
  
  <p>Here's my javascript (I switched hover to trigger for testing)</p>
  
  <pre><code>    $('.Content .ProductList li').trigger(function(){
          var ImageSRC = this.find(".productimage a img").attr('src');
          NewImageSRC = ImageSRC.replace('.200.200.jpg','.400.400.jpg');
          this.find(".productimage a img").attr('src', NewImageSRC)
      });
  </code></pre>
  
  <p>This is the error I'm getting on console: </p>
  
  <pre><code>TypeError: Object function (){ var ImageSRC = this.find(".productimage a img").attr('src'); NewImageSRC = ImageSRC.replace('.200.200.jpg','.400.400.jpg'); this.find(".productimage a img").attr('src', NewImageSRC) } has no method 'indexOf'
  </code></pre>
  
  <p>And here for reference is an abbrebiated version of the HTML I'm trying to get at:</p>
  
  <pre><code>&lt;div class="content"&gt;
      &lt;ul class="ProductList ="&gt;
          &lt;li&gt;
              &lt;div class="ProductImage"&gt;
                  &lt;a href="#"&gt;
                      &lt;img src="../../...200.200.jpg" /&gt;
                  &lt;/a&gt;
              &lt;/div&gt;
          &lt;/li&gt;
          ...
      &lt;/ul&gt;
  &lt;/div&gt;
  </code></pre>