title: How do i add a link to images using Jquery?
body: <pre><code>&lt;ul class="slides"&gt;
  &lt;li class="slide" data-slide="1"&gt;
      &lt;img src="smiley1.gif" alt="Smiley face1"&gt;
  &lt;/li&gt;
  &lt;li class="slide selected" data-slide="2"&gt;
      &lt;img src="smiley2.gif" alt="Smiley face2"&gt;
  &lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p>How do i add a link to the selected image(class:slide selected) using Jquery?</p>