title: Using jQuery .attr to replace image inside conditional comment, not working
body: <p>I'm trying to show a different image to site visitors using IE 8 or older, perhaps I'm missing something, but it seems this should be working, any help is appreciated.</p>
  
  <pre><code>&lt;!--[if lte IE 8]&gt;
    &lt;script&gt;
      $("#myImage").attr("src", "/wp-content/themes/TRTheme/images/Chester-4317.jpg");
    &lt;/script&gt;
  &lt;![endif]--&gt;
  
  &lt;div id="mapOhio"&gt; &lt;img id="myImage" src="&lt;?php bloginfo('template_url'); ?&gt;/images/ohioMap.png" width="253" height="285" alt="Image of a map of Ohio." usemap="#image_map" border="0"/&gt; &lt;/div&gt;
  </code></pre>