Answers for "open a website within a website"

0

open a website within a website

javascript
$("#button").click(function () { 
      $("#iframe").attr("src", "http://www.google.com/");
});
html
<iframe id="iframe" src="" width="100%" height="400"></iframe><button id="button">Load</button>
Posted by: Guest on May-03-2021

Browse Popular Code Answers by Language