title: <div> content is not loading in <iframe>
body: <p><strong>HTML:</strong>   </p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
      &lt;meta http-equiv="Content-type" content="text/html; charset=utf-8"&gt;
      &lt;meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0" /&gt;
      &lt;link href="css/jquery.mobile-1.4.1.min.css" rel="stylesheet"&gt;
      &lt;script src="js/jquery-1.11.0.min.js"&gt;&lt;/script&gt;
      &lt;script src="js/jquery.mobile-1.4.1.min.js"&gt;&lt;/script&gt;
      &lt;script src="js/index.js"&gt;&lt;/script&gt;
  
  &lt;/head&gt;
  &lt;body&gt;
      &lt;div data-role="page" id="demo-page" data-url="demo-page"&gt;
          &lt;iframe id="iframe1" src="" width="100%" height="300"&gt;
          &lt;/iframe&gt;   
          &lt;div role="main" class="ui-content" id="div-content"&gt;
              &lt;h1&gt;Panel responsive&lt;/h1&gt;
              &lt;p&gt;This is a typical page that has two buttons in the header bar that open panels. The left panel has the push display mode, the right panel reveal. To make this responsive, you can make the page re-flow at wider widths. This allows both the panel menu and page to be used together when more space is available. This behavior is controlled by CSS media queries.&lt;/p&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p><strong>JS</strong></p>
  
  <pre><code>&lt;script&gt;
      $(document).ready(function(){
          $("#iframe1").attr('src','#div-content');
      });
  &lt;/script&gt;
  </code></pre>
  
  <p><a href="http://jsfiddle.net/mXjHJ/1437/" rel="nofollow">Here my Jsfiddle Example</a></p>
  
  <p>Here my problem is that I want to load only <code>&lt;div&gt;</code> content in <code>&lt;iframe&gt;</code>. But in my case when I load <code>&lt;div&gt;</code> content in <code>&lt;iframe&gt;</code> then extra content is loaded in <code>&lt;iframe&gt;</code>.</p>
  
  <p>If someone have any idea about this problem then please help me.</p>