title: Jquery copyed html class with specific index unable to identify click event
body: <p>Hi  every one i am new to JQuery.i have a problem with click event.i am taken <code>temearea_div</code> as a container when ever <code>rightclick</code> passing an argument(classname) with that clearfunction is executed and copy Html content into <code>tempaarea_div</code> .i had a problem while click a class with specific index. click is not identifying.could any one solve my problem. how to give selector to identify click with specific index.thanks in advance</p>
  
  <p>THis is My Html Code</p>
  
  <pre><code> &lt;div class="temparea_div"&gt; 
   &lt;img src="img/Img_01.png"/&gt;
   &lt;/div&gt;
      &lt;div class="Maintain_submenu_nav_02" style="display: none;"&gt;
      &lt;div class="maintainence_image_02"&gt;&lt;/div&gt;
      &lt;div class="maintainence_image_02" style=" left: 22.2%;top: 32.7%;"&gt;&lt;/div&gt;
      &lt;div class="maintainence_image_02" style="top: 35.7%;top:42.7%"&gt;&lt;/div&gt;
      &lt;div class="maintainence_image_02" style="top: 35.7%;top:53.7%"&gt;&lt;/div&gt;
      &lt;img src="img/Img_02.png"/&gt;    
   &lt;/div&gt;
  </code></pre>
  
  <p>My JQuery Code</p>
  
  <pre><code>$('.rightclick').bind(function(){
  
      clearfunction('Maintain_submenu_nav_02');
  });   
  
  var clearfunction=function(e){
      $(".temparea_div").empty();
       $('.'+e).show();
        $(".temparea_div").html($('.'+e).html());
        $('.'+e).hide();
  
  };
  </code></pre>
  
  <p>this is not identidentiding click</p>
  
  <pre><code>$('.maintainence_image_02:eq(1)').bind('click', function() {
              $('.maintainence_image_02:eq(1)').css("border", "1px solid #00FFFF");
              maintaincesubmenu = true;
          });
  </code></pre>
  
  <p>i used this one but when click temparea_div then .maintainence_image_02:eq(1) calling</p>
  
  <pre><code> $('.temparea_div').bind('click','.maintainence_image_02:eq(1)', function() {
          $('.maintainence_image_02:eq(1)').css("border", "1px solid #00FFFF");
          maintaincesubmenu = true;
      });
  </code></pre>