title: Print dynamically generated DIV with Image through Jquery
body: <p>i generate a image dynamically and then embed that image in a div with some text. i try to print that dynamic div with image through jquery plugin called <strong>jquery.printElement.min.js</strong> this plugin works fine in firefox and IE but does not work in Chrome. so here is my code which i use to print DIV.</p>
  
  <pre><code> $("#Print").click(function () {
          if (ImgPath != '') {
              var ImagePath = location.protocol + "//" + location.host + ImgPath;
              alert("Your track number " + _TrackNumber);
              sHtml = "&lt;div id=dvPrint&gt;&lt;table&gt;";
              sHtml += "&lt;tr&gt;&lt;td&gt;&lt;img src=" + ImagePath + " height=600 width=400 border=0/&gt;&lt;/td&gt;&lt;/tr&gt;";
              sHtml += "&lt;tr&gt;&lt;td&gt;" + $('#lblTxt').html() + "&lt;/td&gt;&lt;/tr&gt;";
              sHtml += "&lt;/table&gt;&lt;/div&gt;";
              var $dvPrint = $(sHtml);
              $dvPrint.printElement();
  
          }
          else {
              alert("Image not found for print");
          }
          return false;
      });
  </code></pre>
  
  <p>i just could not figure out what is the problem in my code for which Chrome could not print rather a print preview dialog open with no image for chrome. how to sort it. do i need to use any other plugin for chrome. please guide. thanks</p>