title: JQuery image click event is not working
body: <p>I want to trigger a JQuery event that shows a textbox when an image is clicked on my page.
  The HTML code for my page is: </p>
  
  <pre><code>&lt;body&gt;
  &lt;div id="left_box"&gt;
  
  &lt;ul id="thumbnails"&gt;
  &lt;li&gt;
  
  &lt;div class="photocontainer" width="100%"&gt;
  &lt;img class="photo" id="website1" src="photo1.jpg" alt="Click to see enlarged image" /&gt;
  &lt;/div&gt;
  &lt;/li&gt;
  &lt;li&gt;
  &lt;div class="photocontainer"&gt;
  &lt;img class="photo" id="website2" src="photo2.jpg" alt="Click to see enlarged image" /&gt;
  &lt;/div&gt; 
  &lt;/li&gt;
  &lt;/ul&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Now, I have written JQuery code to show a alert when user clicks on image with id="website2".
  The code is :</p>
  
  <pre><code>&lt;script language="JavaScript" type="text/javascript" src="/marketplaces/js/jquery-1.2.6.min.js"&gt;
  
    $('#website2').on("click","img,div", function (e) {
              e.preventDefault();
              alert('You Clicked Me');
         });
  
      &lt;/script&gt;
  </code></pre>
  
  <p>However, nothing happens on image click event. 
  Can anyone tell me where I am going wrong?</p>
  
  <p>Thanks in advance.  </p>