title: How to display picture into div with jquery
body: <p>Is anyone can tell me how can I modify below code to display picture into a div when user click in link ?</p>
  
  <pre><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
  &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
  &lt;head&gt;
  &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt;
  &lt;title&gt;Test&lt;/title&gt;
  &lt;script type="text/javascript"
      src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript"&gt;
      $("a").click(function() {
          $("#imageBox").html("&lt;img src=' + this.href + '&gt;");
      });
  &lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;a href="background.jpg" class="sideLoad"&gt;Link to image 1&lt;/a&gt;
      &lt;a href="background.jpg" class="sideLoad"&gt;Link to image 2&lt;/a&gt;
      &lt;div id="imageBox"&gt;&lt;/div&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>