title: How to display selected div values in another div using Jquery
body: <p>On navigation of the Accordians and once we select the checkboxes , i need to display the 
  Image , Checkbox selected value </p>
  
  <p>Please see the jsfiddle here </p>
  
  <p><a href="http://jsfiddle.net/keVSJ/1/" rel="nofollow noreferrer">http://jsfiddle.net/keVSJ/1/</a></p>
  
  <p>I have written this , but somehow i am getting undefined error </p>
  
  <pre><code> $(document).on("click", ":checkbox", function (e) {
  if($(this).is(':checked'))
  {
    var HTML = ('&lt;div id="mee"&gt;');
    HTML.append('&lt;img type="img" height="40" width="40" src="'+$('#images').attr('src')+'"/&gt;') ;
   HTML.append('&lt;input type="checkbox" name="'+$(this).attr('value')+'" value="'+$(this).attr('value')+'"/&gt;'+$(this).attr('desc')+"&lt;br/&gt;") ;
  
   var HTML = ('&lt;/div&gt;');
  
  }else{
         $('#mee').remove();
  }
  });
  </code></pre>
  
  <p>please see the picture here</p>
  
  <p><img src="https://i.stack.imgur.com/MdHY7.png" alt="enter image description here"></p>