title: Load the page inside of IFRAME using ajax
body: <p>how about loading your page using IFRAME ? I was thinking if this is possible .. </p>
  
  <p>Example, i have this iframe below.</p>
  
  <pre><code>&lt;iframe id="iframe" width="1024" height="600" src="http://www.sample.com"&gt;&lt;/iframe&gt;
  </code></pre>
  
  <p>I want the <strong>www.sample.com</strong> page to load inside this iframe by not simply add the URL into <strong>src</strong> attribute, instead I'll get the current page data using ajax and to load using IFRAME tag. I'm thinking about this because I have a big problem on IFRAME cache most of the time.</p>
  
  <p>I also try this thing but, it does not work perfectly on my end.</p>
  
  <pre><code>&lt;iframe id="iframe" width="1024" height="600" src="http://www.sample.com?random=1422841682605""&gt;&lt;/iframe&gt;
  </code></pre>
  
  <p><strong>random</strong> is change everytime i load this iframe.</p>
  
  <p>I want to apply it on my responsive tool like on the image below. If you need an actual view <strong><em><a href="http://responsivetool.4nton.com/" rel="noreferrer">click here</a></em></strong>.</p>
  
  <p><img src="https://i.stack.imgur.com/ufvDD.png" alt="enter image description here"></p>
  
  <p>Thanks guys if have some idea out there .</p>