title: How to data-bind content for an iframe using KnockoutJS?
body: <p>Can anyone please tell me how to bind data to an <code>iframe</code> using Knockout? I have tried to do this as below, but it is not working as expected:</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;iframe data-bind ="attr: { src: testcontent}"&gt;&lt;/iframe&gt;
  </code></pre>
  
  <p>And Javascript:</p>
  
  <pre><code>var ViewModel = function (content) {
       this.testcontent = ko.observable(content);
  };
  
  ko.applyBindings(new ViewModel("Hello World!!"));
  </code></pre>
  
  <p>I want to add the text "Hello Content" into the <code>iframe</code>. Can anyone please help me on this?</p>