Hello how to make iframe using javascript
how to convert this code to javascript
how to convert this code to javascript
- Code:
<iframe src="http://domain.com"></iframe>
<iframe src="http://domain.com"></iframe>
<iframe src="domain.com"></iframe>
<script src="domain.com/iframe.js"></script>
I have already guessed, you better keep quiet if you can not make coding iframe in javascript Â_Twisted_Mods_ wrote:its already javascript
the url links to the javascript and uses it on your site .. but lets say u took it from another site you would have to include the whole link to the js
in the source code of the site just click the .js link and it will take you to the javascript and you can get the full link in the header of your browser
$('somelement').append('<iframe src="domain.com"></iframe>');
str += '<iframe src="domain.com"></iframe>'
       document.getElementById("namegen").innerHTML=str;
$('body').append('<iframe width="500px" height="500px" src="/portal"></iframe>');
    document.body.innerHTML = '<iframe width="500px" height="500px" src="/portal"></iframe>';
var str = '<iframe src="/portal"></iframe>';
    $( "body" ).html(str);