NullPointer NullPointer - 8 months ago 39
HTML Question

How to append HTML of a page to iframe using jquery

Now I have html codes of a page from back end like this.

enter image description here

So I wanna know how to append these to iframe using jquery or javascript.

<iframe id="t-frame" ></iframe>


Use it:

$("#t-frame").attr("src","link website");